Categories | Question details Back To List | ||
setting the initial selected value and text of a combo in a grid via xml 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? Answer posted by Alex (support) on Mar 20, 2009 07:56 Hello, In case of xml initialization, the value inside <cell> tag is the value of default option - and the corresponding option text will be shown in grid: <cell>1</cell> But if you use dynamic combo ("auto" attribute), the cell value has the following format: option_value^option_text for example: <cell>1^one</cell> Answer posted by Matthew on Mar 20, 2009 09:06 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?
<cell xmlcontent="1" source="../mnaQ2XDeBayService.cfc?method=fncQryEbayServices&varWeight=1&varVolume=12220&varDestination=UK" filter="true">DDL234</cell> Answer posted by Alex (support) on Mar 20, 2009 09:24 & should be encoded. In the other case xml will be incorrect: <cell xmlcontent="1" source="../mnaQ2XDeBayService.cfc?method=fncQryEbayServices&varWeight=1&varVolume=12220&varDestination=UK" filter="true">DDL234</cell> |