View Full Version : Using CheckBoxSelectionModel in a paged grid

5 Aug 2009, 3:05 AM
Hi folks,
I am trying to use the CheckBoxSelectionModel to select multiple rows from a paged grid. So as to mantain the list of elements checked all throught the paged data, I need to know when the rows are checked or unchecked.

I added a SelectionChangedListener to the CheckBoxSelectionModel, but it only detects when a row is checked. When de row is unchecked, this listener does not catch any event. Am I doing something wrong?

I've been reading a few threads looking for a solution, and some of them mention something about capturing the BeforeSelect event, but I don't know where or how to catch it. If this is the way and you know about any other thread/article/... which shows how to do it you will rock ;)

Thanks in advance

10 Aug 2009, 1:39 AM
if you use the forumsearch with keyword BeforeSelect then you can find this thread:

Cannot disable checkboxes in EditorTreeGrid

with an working solution in the last posting.

17 Aug 2009, 2:42 AM
Thanks Arno,
It seems I was a little tired, because when I was searching I could not find anything related to my problem :D

Let's see if I can solve the problem with this. If it works, I'll let you know :)