Edit not working
I have a phpgrid with inline edit functionality. I have disabled some columns for editing. Most of times the edit works fine, but sometimes I click on a row for editing (for example the first for of the grid), complete the edition by pressing Enter key but then, when I click on another row (for example the third row) to try to edit another quantity, the first row becomes editable again, no matter which row I try to edit, the grid always set the first row as editable.
This is my snippet:
$dg = new C_DataGrid("select upc, description, quantity from orders", "upc", "new_order");
....
Solution:
The 3rd parameter should THE SAME as your database table name, in this case, "orders".
$dg = new C_DataGrid("select upc, description, quantity from
orders", "upc", "order");