Can someone please walk me through how one would add a Checkbox to the grid. A simple example would be very helpful. Bascially the goal here is to allow user to use checkbox instead of multi-select by highlighting rows.
Alex, your response here would be greatly appreciated!
Thanks in advance!
Tuesday, March 29, 2005
Adding the check box is pretty straight-forward and depends upon how you feed data to the grid.
If your data is inline (js above the </head> tag) you can do it like this:
Similar procedure if using an external file for data input.
To trap selected rows requires that you write the event handler and store the trapped values, then process them for whatever you want to do. Basically, you haven't provided enough information to establish postclick processing so it's hard to know what you want to do with the selected rows.
Thursday, March 31, 2005
How do we retrieve back the value of check box from the grid?
what is the exact code in this case?
Wednesday, April 27, 2005
Do you have the grid within a form tag?
Thursday, April 28, 2005
I also need to use checkboxes,
i know how to do what you just showed me. but i want to be able to sort by checkbox value (1 or 0) so if you click it all the selected rows will go to the top, etc...