Commit ace0d057 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Table: expand column supports label

parent 675253dc
...@@ -65,8 +65,8 @@ const forced = { ...@@ -65,8 +65,8 @@ const forced = {
sortable: false sortable: false
}, },
expand: { expand: {
renderHeader: function(h, {}) { renderHeader: function(h, { column }) {
return ''; return column.label || '';
}, },
renderCell: function(h, { row, store }, proxy) { renderCell: function(h, { row, store }, proxy) {
const expanded = store.states.expandRows.indexOf(row) > -1; const expanded = store.states.expandRows.indexOf(row) > -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment