View Full Version : [DHTML] Cascade Checkbox

12-22-2007, 07:16 PM
1) CODE TITLE: Cascade Checkboxes

Charles Weiss 2007-12-20

Simple javascript that allows a user to select rows below the current row and place the current rows value in those rows/

4) URL TO CODE: http://www.ftwmarketing.com/blog/programming/javascript/javascript-cascades-part-1

or, ATTACHED BELOW (see #3 in guidelines below):

12-23-2007, 09:07 PM
Working as explained but I think the method you used(select the row then click the button etc.) is not the best way to face with situations like this.

I suggest you to allow the user to use the [shift] key to select a range of rows. The experience you gained from this script should help you very much with coding the version I suggested if you intend to convert :)

01-05-2008, 04:32 AM
The thing about using shift is that the implementation I created this for is a grid view in a cms, containing about 200 rows per page and ~50 columns per row with other cascading functions for text boxes and drop downs. While we could use the shift, I would rather the user not touch the keyboard at all and still be able to replicate cells to his/her hearts content.

01-05-2008, 08:08 AM
Then it is a useful way to keep the user away from the keyboard :)