CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Checkbox custom row delete in grid [solved]

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.