CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Checkbox in Editable Grid (CCS 2)

Print topic Send  topic

Author Message
JFS
Posted: 07/08/2003, 6:54 AM

If I place a checkbox in an editable grid that is not bound to a database field, how do I parse the grid and determine which rows have the checkbox checked. I want to use this as a selection to e-mail certain people in the grid. Any help greatly appreciated.
JFS
Posted: 07/08/2003, 1:00 PM

FYI

I figured it out by looking at the delete checkbox code. For anybody interested in doing the same here is a code snippet:

global $roster;
// Check for selected users
for ($rn = 1; $rn <= $roster->TotalRows; $rn++ ) {
if ($roster->FormParameters["selectbox"][$rn] == 1)
mail($roster->FormParameters["email"][$rn],$subject,$body);
}

   


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.