Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

"Select All" checkbox enable issue.

$
0
0
Hello All,

In a listGrid I added a checkbox selection using following properties:

listGrid.setSelectionType(SelectionStyle.SIMPLE);
listGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
listGrid.setShowAllRecords(true);

Now based on some condition, we set record.setCanSelect() to remove the checkbox for the specific records..

Problem: Just in case user can not select any of the records. i.e. record.setCanSelect(false) for all records, The checkbox at header, that means "Select All" checkbox is still enable.

Thanks,
Minhaj

Attached Images
File Type: png checkbox.png (2.3 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles