When a developer using the file upload column and file view column in the same Grid but by mistake had set same name in these two array columns, when viewing the Grid and tries to reorder the columns ordering by drag and drop them, then column titles deathwatch from column cells and when user saves a Cell A from Column A can be saved in Column B and also the data in database are messing.
Seems like the save method works using array ordering with number indexing and not with key indexing… I think it will be safer this to change.
The view column should be virtual column that should have editable:false so that it is not posted.
And there is general rule to use unique $col["name"] for each column.
Thanks for the response, I know that, but it will be great this to change in order to eliminate the possibility of all columns data to be changed!
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!