Utility at gijgo.com

Errol Farro
Errol Farro used Ask the Experts™
on
I found a utility (http://gijgo.com) which is very helpful. However, there is a bug which I cannot solve and was wondering if you could help me.  I already contacted support but they have not responded so far.

The source code is at http://gijgo.com/grid/demos/html-sourced-data. When a new record is added,  a new ID number is generated. When I edit the new record, the updated record is provided with a new ID number. This seems to be a small bug but I cannot get it resolved.
Your help is appreciated.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
All-around developer
Commented:
Put a breakpoint on line 115, in the Save() function, of the demo code and check $("#ID").val().
if ($('#ID').val()) {

Open in new window


If it is not set, then it will create a new ID. The demo works fine, how is your code different?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial