Sep 26, 2013, 11:14 AM
[CLOSED] ItemSelector data binding
Hi,
I'm using the itemselector control but I need to bind the selected and unselected to a store... is there an example of how to do this?
Thanks,
I'm using the itemselector control but I need to bind the selected and unselected to a store... is there an example of how to do this?
Thanks,
<ext:ItemSelector ID="ItemSelector1" runat="server" FieldLabel="ItemSelector" AllowBlank="false"
MsgTarget="Side" FromTitle="Available" ToTitle="Selected" Reorderable="False"
Height="360">
<Store>
</Store>
<Items>
<ext:ListItem Text="One Hundred Twenty Three" Value="123" />
<ext:ListItem Text="One" Value="1" />
<ext:ListItem Text="Two" Value="2" />
<ext:ListItem Text="Three" Value="3" />
<ext:ListItem Text="Four" Value="4" />
<ext:ListItem Text="Five" Value="5" />
<ext:ListItem Text="Six" Value="6" />
<ext:ListItem Text="Seven" Value="7" />
<ext:ListItem Text="Eight" Value="8" />
<ext:ListItem Text="Nine" Value="9" />
</Items>
<SelectedItems>
<ext:ListItem Value="3" />
<ext:ListItem Value="4" />
<ext:ListItem Value="6" />
</SelectedItems>
</ext:ItemSelector>
Last edited by Daniil; Mar 14, 2014 at 8:26 AM.
Reason: [CLOSED]