I've successfully created several grids, but with one of them the value I enter for the first column in the grid is not inserted into the record in the db table. It doesn't matter which db column I reference for the first column in the grid. My workaround was to add a column to the db table (id), reference it in the first column in the grid and configure it as hidden. This is with mysql.
Then I found this…
I added this
$col["autoid"] = false;
to the first column in the grid and all is well. But I didn't have this problem with any of the previous grids I created.
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!