-
[DHTML] Cascade Checkbox
1) CODE TITLE: Cascade Checkboxes
2) AUTHOR NAME/NOTES:
Charles Weiss 2007-12-20
3) DESCRIPTION:
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/pro...ascades-part-1
or, ATTACHED BELOW (see #3 in guidelines below):
-
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 :)
-
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.
-
Then it is a useful way to keep the user away from the keyboard :)