Cleopatra
Posts: 73
|
| Posted: 05/17/2010, 8:04 AM |
|
Hey guys,
I'm trying to put a checkbox in a grid to delete a checked row and a checkbox which checks all rows at once. So you could delete all.
what should the custom code look like to be able to do this or does CCS have a built-in feature I don't know about?
_________________
php newbie |
 |
 |
datadoit
|
| Posted: 05/17/2010, 12:17 PM |
|
Start by building an editable grid with a Delete checkbox included, then
check back here for further instructions.
|
|
|
 |
Cleopatra
Posts: 73
|
| Posted: 05/18/2010, 4:38 AM |
|
Ok, I built the editable grid. The reason why I need to use a custom delete is that I'm using two tables to populate the grid. What I've seen is that the delete checkbox does not work when using multiple tables.
_________________
php newbie |
 |
 |
datadoit
|
| Posted: 05/18/2010, 5:52 AM |
|
Now take a look at this:
http://forums.codecharge.com/posts.php?post_id=60507
Within that post is some sample javascript that will select/deselect all
checkboxes.
For deleting from other tables, you'll put your code into
AfterExecuteDelete.
|
|
|
 |
Cleopatra
Posts: 73
|
| Posted: 05/18/2010, 10:55 AM |
|
Thank you so much for your help, Datadoit.
You rock!!!!!!!
_________________
php newbie |
 |
 |