Sep 05, 2012, 12:22 PM
[CLOSED] Sort checked records in GridPanel with CheckboxSelectionModel (CheckColumn)
Hello,
Is there any way to sort checked records in GridPanel with CheckboxSelectionModel (or at least with CheckColumn).
Also it would be great to keep the CheckAll option in the header.
I found the next solutions (but they both are not perfect):
1) With CheckboxSelectionModel we can handle HeaderClick event and manually set sort icon:
2) Do not use CheckboxSelectionModel, but add CheckColumn.
I've found an example with addition row in the header, where we can place CheckAll option.
But header becomes too big in this case.
Could you please suggest any solution?
Thanks in advance.
Is there any way to sort checked records in GridPanel with CheckboxSelectionModel (or at least with CheckColumn).
Also it would be great to keep the CheckAll option in the header.
I found the next solutions (but they both are not perfect):
1) With CheckboxSelectionModel we can handle HeaderClick event and manually set sort icon:
#{GridName}.getView().updateSortIcon(0, 'ASC');
But checkbox click also will be a header click here. 2) Do not use CheckboxSelectionModel, but add CheckColumn.
I've found an example with addition row in the header, where we can place CheckAll option.
But header becomes too big in this case.
Could you please suggest any solution?
Thanks in advance.
Last edited by Daniil; Sep 12, 2012 at 5:58 AM.
Reason: [CLOSED]