Hi everybody!
I'm facing a problem on my grid (Kendo Web + PHP + MySQL).
Here's the sittuation:
I'm using a popup editing grid, and almost everything is going well, apart from the "delete" function. If i save a new record, and try to delete it without close the grid, is doesn't happen on my MySQL DB, only on the grid, because when i save, the ID remains as "null" (as ID is a Auto_increment field) on the grid.
Is there anything wrong on my code, or is there anything missing to refresh the ID ( I mean right after i save, it should get the ID from the db).
Please could someone help me?
Thanks in advance.
here's the code on JsFlddle
http://jsfiddle.net/63sCD/4/
I'm facing a problem on my grid (Kendo Web + PHP + MySQL).
Here's the sittuation:
I'm using a popup editing grid, and almost everything is going well, apart from the "delete" function. If i save a new record, and try to delete it without close the grid, is doesn't happen on my MySQL DB, only on the grid, because when i save, the ID remains as "null" (as ID is a Auto_increment field) on the grid.
Is there anything wrong on my code, or is there anything missing to refresh the ID ( I mean right after i save, it should get the ID from the db).
Please could someone help me?
Thanks in advance.
here's the code on JsFlddle
http://jsfiddle.net/63sCD/4/