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
|
|
|
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 |
|
|
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.
|
|
|
|