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

Table: expand column supports label

parent 675253dc
......@@ -65,8 +65,8 @@ const forced = {
sortable: false
},
expand: {
renderHeader: function(h, {}) {
return '';
renderHeader: function(h, { column }) {
return column.label || '';
},
renderCell: function(h, { row, store }, proxy) {
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