Dec 31, 2014, 4:50 PM
[CLOSED] Multi Selector, Multiple Fields, missing "Remove this item" functionality
Hello-
I love the new MultiSelector. Very nice functionality.
In the selector and the search I am displaying multiple fields.
When I display multiple fields I lose the built in functionality of the Multi Selector to remove an item from the Multi Selector by clicking the "X"
How do I use this functionality with multiple fields in the selector.
Sample Code:
-Rob
I love the new MultiSelector. Very nice functionality.
In the selector and the search I am displaying multiple fields.
When I display multiple fields I lose the built in functionality of the Multi Selector to remove an item from the Multi Selector by clicking the "X"
How do I use this functionality with multiple fields in the selector.
Sample Code:
<ext:MultiSelector runat="server" ID="sl_Codes" Width="400" Height="450" Title="Set Title" UI="Primary" AllowDeselect="true" >
<Store>
<ext:Store ID="str_codes_list" runat="server" ModelName="test_model" />
</Store>
<ColumnModel>
<Columns>
<ext:Column runat="server" DataIndex="code" Text="Code" />
<ext:Column runat="server" DataIndex="description" Text="Description" />
</Columns>
</ColumnModel>
<ViewConfig DeferEmptyText="false" EmptyText="No Codes selected" />
<Search>
<ext:MultiSelectorSearch runat="server" Width="400" Height="400" Field="code" Closable="true" CloseAction="Hide" UI="Primary" MarginSpec="1 1 1 1" Title="Set Title" ID="mss_1" >
<SearchGridConfig runat="server" BufferedRenderer="false">
<ColumnModel>
<Columns>
<ext:Column runat="server" DataIndex="code" Text="Code" />
<ext:Column runat="server" DataIndex="description" Text="Description" Flex="1" />
</Columns>
</ColumnModel>
</SearchGridConfig>
<Store>
<ext:Store ID="str_codes_search" runat="server" ModelName="test_model">
<Sorters>
<ext:DataSorter Property="code" />
</Sorters>
</ext:Store>
</Store>
</ext:MultiSelectorSearch>
</Search>
</ext:MultiSelector>
Thanks and Happy New Year!-Rob
Last edited by Daniil; Jan 30, 2015 at 4:52 AM.
Reason: [CLOSED]