:: Forum >>

setting Id for checkbox in grid

I have a grid with first column as checkboxes -
grid.setSelectionMode("multi-row-marker");

1. How can i set some identifier value to the check box,so that when a checkbox is clicked i can tell which row it is linked to.

2. When the form is submitted i want to read the values of all the selected checkboxes,which will be passed to the controller in request object.
ashii
Friday, February 1, 2008
You can retrieve the array of selected row indices with getSelectedRows() method. To send this array in form submit action you have to put it into any form control, for example, hidden input.
Alex (ActiveWidgets)
Monday, February 4, 2008

This topic is archived.


Back to support forum

Forum search