:: Forum >>

Check box State on row click

Hi Carlos,

How can a get a count of all the checked checkboxes of all rows when a highlight/select a single row in the grid?
Stephen
Wednesday, March 2, 2005
loop through all the rows and check the cell where the checkbox is in and check if it's true/false?

onclick -> loop through rows -> inspect cell where checkbox is -> i++ on successful "true" on checkbox
Wednesday, March 2, 2005
http://www.activewidgets.com/javascript.forum.2694.1/checkbox.html
Wednesday, March 2, 2005
or add code to inc/dec a counter everytime the checkbox is checked/unchecked
eldiablo
Thursday, March 3, 2005

This topic is archived.


Back to support forum

Forum search