Hi,
<gwtVersion>2.5.1</gwtVersion>
<smartGwtVersion>4.0p-2013-12-23</smartGwtVersion>
In our project we using recordcanselectproperty of listgrid to enable/disable selection on records which meet certain criteria, its working fine and checkbox only appear against those records which can be selected.
But the requirements we have is, we should show the checkbox on all records all the time and if the record can't be selected checkbox should be disabled instead of disappearing. Can you please let us know if this is possible and how this can be achieved using smartgwt ListGrid selection. Thanks.
<gwtVersion>2.5.1</gwtVersion>
<smartGwtVersion>4.0p-2013-12-23</smartGwtVersion>
In our project we using recordcanselectproperty of listgrid to enable/disable selection on records which meet certain criteria, its working fine and checkbox only appear against those records which can be selected.
But the requirements we have is, we should show the checkbox on all records all the time and if the record can't be selected checkbox should be disabled instead of disappearing. Can you please let us know if this is possible and how this can be achieved using smartgwt ListGrid selection. Thanks.
Code:
setSelectionAppearance(SelectionAppearance.CHECKBOX);
setSelectionType(SelectionStyle.SIMPLE);
setRecordCanSelectProperty(SELECTION_ENABLED);
setCanSelectAll(true);