- Problem:
- I wanted to show checkboxes as row selection in SmartGWT so i found this solution from Showcase
ListGrid recipientGrid = new ListGrid();
- recipientGrid.setWidth(350);
- recipientGrid.setHeight(250);
- recipientGrid.setShowAllRecords(true);
- recipientGrid.setSelectionType(SelectionStyle.SIMPLE);
- recipientGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
even I fill datasource with less than 10 records it did not work.
Solution:
Replace the datasource with ListGridRecord[] data. Now it can work for both small and larges batches.
welcome asad to the worlds of blogs.
ReplyDeletenice to see you hear and may allah give you courage to write more & more. keep it up(Y)