CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Image in editable grids

Print topic Send  topic

Author Message
NilovSerge

Posts: 16
Posted: 10/22/2006, 12:20 PM

Hallo!
I use the editable grids. have a problem with it.
1 ) I have an image object in the editable grid. The image show the state of the row. So for different
row must be different image. I change images by BeforeShowRow event. It works all right.
But changing the data in the grid I need by JavaScript to change the images. But I can not as the name
of ALL images is the same (ex "<img id="img_src_name" name="img_src_name" src="images/week_schedule.jpg">")
as for ex. text input changes its name by row number(<input value="" name="description_2"> - for second row)
What can I do with it?

_________________
With respect,
Nilov Serge.
View profile  Send private message
Edd


Posts: 547
Posted: 10/22/2006, 7:59 PM

Investigate the example (in the CCS example pack) of how to Add a Row in dynamic grids.

This gives you the basics on how to count rows and identify a row. Then Javascript can be used.

Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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