I searched through the forum ,but actually i didn't find a solution to this.
I have a Grid with a certain number of records and a CheckBoxSelectionModel.
What i want to do is to see all the rows selected after the grid is rendered.
Actually, this is the code i use but does not do to job.
I tried to fire the event Events.HeaderClick after setting the selection model but it doesn't fire at all
Grid<ModelData> grid = new Grid<ModelData>(TestData.getStore(), TestData.getColumnModel());
final CheckBoxSelectionModel<ModelData> sm = new CheckBoxSelectionModel<ModelData>();
Where is the mistake?
thanks for the help