There is an error somewhere in there, it no longer save an update.
I had to role back to an older version.
The version that has the issue is * @version 1.5.0 build 216-20140205
I have version * @version 1.5.0 build 186-20131105
The older one works
I did more testing…
The newer build works fine but not with my grids.
The demoa work fine with it.
My grids don't, and no error codes.
Do you think
if (new_grid) will work?
Add new row works but update will not work.
If I edit a row (by clicking the edit icon at in the action column), the change stays but when I refresh the grid, the change is not saved to the db.
When I click the edit icon at the bottom of the grid and edit via the form, the changes are not affecting the grid.
If almost like the grid is not executing the Update function.
Here is more….
If I remove the code i used to set my columns example…
$col = array();
$col["title"] = "Date";
$col["name"] = "client_add_date";
$col["width"] = "10";
$col["editable"] = true; // this column is editable
$col["align"] = "left"; // this column is editable
$col["search"] = true; // this column is searchable
$col["formatter"] = "date";
$col["formatoptions"] = array("srcformat"=>'Y-m-d',"newformat"=>'d/m/Y');
$col["resizable"] = true;
$cols[] = $col;
again, just copied from a demo, the grid updates the table correctly.
As soon as I set the columns up, it won't update.
I'm doing more testing and will keep you up dated.
In the mean time, if anyone has a suggestion, please comment here.
Hello Rogers,
Please debug using this process, and let me know the error message if not resolved.
https://phpgrid.desk.com/customer/portal/articles/926266
The firebug response error shows actual reason.
Hi, I installed the update received by e-mail yesterday (sent by Abu) and I have exactly the problem described by David.
In the demo, everything seems ok.
In my table, I can insert and delete, but no update. It seems to do the update, but reloading nothing has been updated.
Using phperror after the update statement, I can see the error: It is the query of the update, which his correct.
I went in phpmyadmin paste the SQL query copied from the message error and the update was done!
Any ideas?