CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Select list of records to do operation with [RESOLVED]

Print topic Send  topic

Author Message
solesz

Posts: 137
Posted: 08/02/2016, 8:52 AM

Hi,

I have an database with general ledger records.
I have a page where I can filter records, so a grid can be generated.
As a next step I want to place a checkbox at the end of each row, let the row be selected for an operation.

So finally I have a filtered list in a grid, with rows are selected and not selected.
Then pushing a button I want to run custom code only on the selected rows (actually list those records into a CSV file)

Is there recommendation or best practice on the model how to do that in CCS?

thanks,

solesz
View profile  Send private message
eratech


Posts: 513
Posted: 08/18/2016, 6:17 AM

Solesz

This is exactly what an Edittable grid will do. Create your own with the Builder and allow Delete. The Delete checkbox and do a Custom SQL on Delete to do the updates. It will run the code for each of the selected items.

Cheers

Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
solesz

Posts: 137
Posted: 08/19/2016, 11:21 AM

I made almost the same, but i used custom code instead custom delete. Simply your solution is better.
Thanks.
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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