if I call expandRecords in the TreeGrid, even those nodes with the canExpand=false attribute are expanded. Is this how it should be?
Announcement
Collapse
No announcement yet.
X
-
in SmartGWT, I have an event handler
Code:listGrid.addRecordExpandHandler(new RecordExpandHandler() { public void onRecordExpand(RecordExpandEvent event) { ListGridRecord record = event.getRecord(); if(!condition) { event.cancel(); } } });
Code:listGrid.expandRecord = function(record) { if(condition) { this.Super("expandRecord", record); } }
Comment
Comment