May 01, 2012, 11:25 PM
[CLOSED] Icon in MultiCombo
Hi guys,
How do I add an icon to a MultiCombo similar to the IconCombo. I tried following the example for the icon combo box but the check boxes does not show up. Please can you point me in the right direction.
How do I add an icon to a MultiCombo similar to the IconCombo. I tried following the example for the icon combo box but the check boxes does not show up. Please can you point me in the right direction.
<ext:MultiCombo ID="cbNewAutoTransitionFromPrincipals"
runat="server"
IDMode="Explicit"
Editable="false"
Mode="Local"
FieldLabel ="<%#Model.FromUserFieldLabel %>"
ForceSelection="true"
AllowBlank="false"
AutoDataBind="true"
SelectOnFocus="false" LabelAlign="Top"
TabIndex="1" AutoFocus="False"
Width ="372">
<Store>
<ext:Store IDMode="Explicit" runat="server">
<Reader>
<ext:JsonReader Root="data" IDProperty="Id">
<Fields>
<ext:RecordField Name="Id" />
<ext:RecordField Name="Name" />
<ext:RecordField Name="IconCls" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
</Store>
<Template runat="server">
<Html>
<tpl for=".">
<div class="x-combo-list-item icon-combo-item {IconCls}">
{Name}
</div>
</tpl>
</Html>
</Template>
</ext:MultiCombo>
Last edited by Daniil; May 08, 2012 at 11:27 AM.
Reason: [CLOSED]