I've a column with dropdown select like this:
$col = array();
$col["title"] = "Risk";
$col["name"] = "Risk";
$col["editable"] = true;
$col["edittype"] = "select";
$col["editoptions"] = array("value"=>'1:Pro1/Ris1;4:Pro2/Ris2;16:Pro4/Ris4');
$cols = $col;
I didn't inserted the
$col["formatter"] = select;
because I want that keys are displayed in the grid and values only in the dropdown menu.
When I update a record using the inline editing, after clicking the save button the grid show values instead of keys and I need to refresh the grid to show correct keys. If I edit the record with the dialog edit it works fine.
At the moment I solved this by using the $opt["reloadedit"] = true; in order to force the grid to reload, but I wanted to report you this problem.
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!