Hello all,
I'm looking for a way to design a ListGrid with info relevant to a user's privileges, i.e. view, update, delete, all via checkboxes. So suppose a user has view rights on all records, the 'header' view checkbox should be ticked as well, if view/update/delete on a record are checked then 'all' should be as well etc.
More or less, it'd be what grid.setSelectionAppearance(SelectionAppearance.CHECKBOX) does, only in a multiplied, turbocharged fashion.
Is there any way to achieve this without resorting to a manual computation of tick counts?
Any help would be much appreciated.
I'm looking for a way to design a ListGrid with info relevant to a user's privileges, i.e. view, update, delete, all via checkboxes. So suppose a user has view rights on all records, the 'header' view checkbox should be ticked as well, if view/update/delete on a record are checked then 'all' should be as well etc.
More or less, it'd be what grid.setSelectionAppearance(SelectionAppearance.CHECKBOX) does, only in a multiplied, turbocharged fashion.
Is there any way to achieve this without resorting to a manual computation of tick counts?
Any help would be much appreciated.