setting the initial selected value and text of a combo in a

Hi - I think this is a pretty basic question but I am initializing a grid via xml and cannot find a way of setting the value and text for a combo in the grid.



Is this possible?


Hello,


In case of xml initialization, the value inside tag is the value of default option - and the corresponding option text will be shown in grid:


1


But if you use dynamic combo (“auto” attribute), the cell value has the following format: option_value^option_text


for example:


1^one


Thank you for this - I can get it to work now but if I use a more complex URL it doesn’t work - can you tell me what is wrong with code below please? 



 



DDL234


& should be encoded. In the other case xml will be incorrect:


DDL234