Open sunscheung opened 6 years ago
You are using isRowSelectable wrong. Change it to return a boolean:
isRowSelectable: function(row) {
if (row.entity.selected && row.entity.isLeaf) {
//row.grid.api.selection.selectRow(row.entity); // 选中行
true
}
},
This question is difficult for me to describe, so I'll show it with pictures and examples and look forward to your answers: 1、 init data
2、 unselect one
3、 collapseAll
4、expand Or resize column (enableColumnResizing:true): the ui-grid rerender and it's not what I want to see....
example: http://embed.plnkr.co/F4dcfV/ http://embed.plnkr.co/F4dcfV/ @is @petebacondarwin @nateabele @sbruno @rubenv