Mar 20, 2014, 9:22 AM
[CLOSED] Adding different Listitems to each ComboBox in Grid
Hi,
I have a grid with a component/combobox column.
Row 1: Route1,Route2
Row 2: No Route
Row 3: Route3-1,Route3-2
etc.
Is there any example how to achieve that? I am filling the Store in Codebehind
Thanks
I have a grid with a component/combobox column.
<ColumnModel>
<Columns>
<ext:Column ID="Column1" runat="server" Text="Tourtyp" DataIndex="FormatedTourType"/>
<ext:Column ID="Column3" runat="server" Text="Route" DataIndex="FormatedCategory"/>
<ext:Column ID="Column4" runat="server" Text="Fahrzeug" DataIndex="FormatedVehicle"/>
<ext:Column ID="Column5" runat="server" Text="Beauftragter" DataIndex="FormatedPlanEmployee"/>
<ext:ComponentColumn ID="ComponentColumnNewCategory"
runat="server"
Editor="true"
DataIndex="NewRoute"
Flex="1"
Text="Neue Route">
<Component>
<ext:ComboBox ID="ComboBoxNewRoute" runat="server">
<Items>
</Items>
</ext:ComboBox>
</Component>
</ext:ComponentColumn>
</Columns>
</ColumnModel>
Every Row in the grid needs to have different values in the Combox.Row 1: Route1,Route2
Row 2: No Route
Row 3: Route3-1,Route3-2
etc.
Is there any example how to achieve that? I am filling the Store in Codebehind
Thanks
Last edited by Daniil; Mar 21, 2014 at 4:36 PM.
Reason: [CLOSED]