[CLOSED] ComboBox Custom template for EXT 4 MVC
Hi Support,
I've color comboBox and I want to change background color based on value. I've found WebForm example like below,
Code:
<ext:ComboBox runat="server">
<Items>
<ext:ListItem Text="Red" Value="FF0000" />
<ext:ListItem Text="Green" Value="008000" />
<ext:ListItem Text="Blue" Value="9FD2EC" />
</Items>
<Template>
<Html>
<tpl for=".">
<h1 style="color:{value}">{text}</h1>
</tpl>
</Html>
</Template>
</ext:ComboBox>
How do I implement template like that for MVC Razor?