Hi,
I'm using a custom form and on save I call FormToGrid to refresh grid data.
The problem is that if in my form I have a select, FormToGrid write the “value”, and not the label.
So if I have an option with value=123 and label “Hello World”, after FormToGrid I'll see “123” and not “Hello World”
the colModel is like this
|
1 |
{"name":"element_name","index":"element_name"</code><code>,"editoption":{value: '123:Hello World; 456:ByeBye; TN:TNT'},"editable":true,"edittype":"select"}</code><code> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top