Nov 28, 2012, 3:29 PM
[CLOSED] Combobox DisplayField Template
Is there a way to add a display template for a combobox displayfield like displayTpl in ExtJS?
http://docs.sencha.com/ext-js/4-1/#!...mboBox-cfg-tpl
I would like the selected item to show ({stateAbbr}) [Parenthesis around the state abbreviation].
To define a template for the list items I used:
http://docs.sencha.com/ext-js/4-1/#!...mboBox-cfg-tpl
I would like the selected item to show ({stateAbbr}) [Parenthesis around the state abbreviation].
To define a template for the list items I used:
...
<ListConfig>
<ItemTpl runat="server">
<Html>
{stateNm} - ({stateAbbr})
</Html>
</ItemTpl>
</ListConfig>
...
Last edited by Daniil; Nov 29, 2012 at 4:56 AM.
Reason: [CLOSED]