CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Editable grid onchange submit form not triggered

Print topic Send  topic

Author Message

Posts: 47
Posted: 08/30/2017, 9:15 PM Quote message

Hello everyone,

In a normal form - onchange submit form code works, however with an editable grid the onchange submit does not seem to work.

The javascript code does not appear to allow for the _rowNumber being added to the select box ID.

<select id="contentcall_listscall_result_{call_lists:rowNumber}" name="{call_result_Name}">
<option selected value="">Result</option>

I am using page designs so the js function includes "content" as a parameter but not rowNumber.

Does anyone have a work-around?

Thanks in advance.
View profile  Send private message
Posted: 09/02/2017, 10:38 AM Quote message

You're gonna wanna fully jQuery and AJAX POST that action. Unfortunately
that's beyond the scope of what CodeCharge will do for you in a few
simple clicks.

Posts: 47
Posted: 09/03/2017, 4:22 PM Quote message

Ok, thanks. I think I'll forget the idea.
View profile  Send private message

Posts: 639
Posted: 09/05/2017, 2:58 AM Quote message

This might give some idea I use it to retrieve values from a 'selected row' in a dynamically rendered json grid, highlight and when clicked and display the selected row in an input. You are probably interested in setting the variable 'values'...

var tds = $(this).addClass('row-highlight').find('td');
var values = '';
tds.each(function(index, item) {
values = values + ' ' + $(item).html();
values = " SELECTED: Site ID -" + values;


If you want to see it in action go to and scroll down a bit and 'Select A Site'

Central Coast, NSW, Australia.

View profile  Send private message

Posts: 47
Posted: 09/05/2017, 5:40 PM Quote message

Thanks Michael,

What is required is a rework of the form submit onchange function so that it will ID the select box based on the row number.

This is a CCS bug really because the standard system doesn't work.
View profile  Send private message

Posts: 639
Posted: 09/07/2017, 5:00 PM Quote message

What DataDoIT says.

You wanna do it, you gotta learn it.

Not sure if much more than onclick or triggerclick can be bound to a button anyway......
Central Coast, NSW, Australia.

View profile  Send private message

Add new topic Reply to topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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