Dropdown and inline editing

QuestionsDropdown and inline editing
Alexander asked 2 years ago

Hi Abu,
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.
Thanks

1 Answers
Abu Ghufran answered 2 years ago

Ok, thanks for the update.
We'll be reviewing it.

Your Answer

19 + 3 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



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!