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 -> General/Other

 Ed Grid with 'Add Row' button - help needed

Print topic Send  topic

Author Message
GeorgeS

Posts: 206
Posted: 02/11/2005, 2:13 PM

HI,
finally I have decided to try this example in one of my projects.

"Step 4.
Add a button to the bottom row of the editable grid and sets its Name property to AddRowBtn. Also set the Enable Validation property to No and leave the Operation property empty. " -- I did this
Here is where I got stuck:
"Under the Format tab of the properties window, set the Value property to Add Row and the type property to button".

-- Format property of WHAT? The button or the grid?
In any case I can not find Value property & type property under the Format tab (if this is the correct Format tab on the left of Data tab?).

I'd appreciate a screen print showing that Format tab with those two properties or a small DemoCharged clip regarding step 4.
_________________
GeorgeS
View profile  Send private message
joshuamcdonald
Posted: 02/14/2005, 9:57 AM

One solution to this is to just add another Submit button next to the "Submit"button and set return page to the same page and change the caption to Add Row, this will force the page to submit and return to the page adding the number of blank rows that are specified in the grid's Empty Rows property - This is one work around - Hope this helps
Josh
DonB
Posted: 02/15/2005, 5:54 PM

I consolidated the various bits and pieces from their example into two
functions (one javascript the other php), and wrote up some instructions
that should help make sense of this. It's at the URL below. Just click on
"Latest News" to get the article describing how I do it.

It's much cleaner to set up a grid - just one function called in the button
that adds the row, and one function call in the grids BeforeShowRow event.
Three variables must be added to the grid <tr>, too.

By the way, the Format properties refer to setting the button's caption to
"Add Row" and the button's type to "button" (i.e., instead of the default
which is "submit")
--
DonB

http://www.gotodon.com/ccbth


"GeorgeS" <GeorgeS@forum.codecharge> wrote in message
news:2420d2e222efda@news.codecharge.com...
> HI,
> finally I have decided to try this example in one of my projects.
>
> "Step 4.
> Add a button to the bottom row of the editable grid and sets its Name
property
> to AddRowBtn. Also set the Enable Validation property to No and leave the
> Operation property empty. " -- I did this
> Here is where I got stuck:
> "Under the Format tab of the properties window, set the Value property to
Add
> Row and the type property to button".
>
> -- Format property of WHAT? The button or the grid?
> In any case I can not find Value property & type property under the Format
tab
> (if this is the correct Format tab on the left of Data tab?).
>
> I'd appreciate a screen print showing that Format tab with those two
properties
> or a small DemoCharged clip regarding step 4.
> _________________
> GeorgeS
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


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.

MS Access to Web

Convert MS Access to Web.
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.