See in the image the record with country india should not be expanded, I want some thing like the image
Announcement
Collapse
No announcement yet.
X
-
Hi Claudio,
I have tried these options , but this is for the whole grid, its not working for specific record.
Even i have tried the below solution but its not working public boolean canExpandRecord(ListGridRecord record,int rowNum)
Comment
-
Hello, please note that I pointed you to ListGridRecord.canExpand, which of course is for specific records.
Also, this is working in the showCase (#expansionRelatedRecordsFS sample):
Code:isc.ListGrid.create({ ID: "categoryList", width:650, height:300, alternateRecordStyles:true, dataSource: supplyCategory, autoFetchData: true, canExpandRecords: true, expansionMode: "related", detailDS:"supplyItem", canExpandRecord:function(record, rowNum) { return record. categoryName !== 'Adhesives'; } });
Comment
-
Thank you claudiobosticco , i got the solution. ListGridRecord.canExpand is working, thank you again.
Comment
Comment