Jul 30, 2009, 3:03 AM
[CLOSED] How to show ComboBox's current text in grid's cell with editor function
Hi,
I have a case:
I know using Store for ComboBox works fine. In my case how can I do?
I have a case:
<ext:Column ColumnID="Type" DataIndex="Type" Header="Value">
<Editor>
<ext:ComboBox ID="cmbType" runat="server" Editable="true" >
<Items>
<ext:ListItem Value="Text" Text="Text"/>
<ext:ListItem Value="Integer" Text="List Item ID"/>
<ext:ListItem Value="DateTime" Text="Date and Time"/>
<ext:ListItem Value="Boolean" Text="Yes/No"/>
<ext:ListItem Value="Long" Text="Action ID"/>
<ext:ListItem Value="ArrayList" Text="Collection"/>
<ext:ListItem Value="Number" Text="Number" />
</Items>
</ext:ComboBox>
</Editor>
</ext:Column>
The cell editable function is fine, but cell's display-text is ListItem's value after ComboBox's item is changed, actually I want to show ListItem's Text.I know using Store for ComboBox works fine. In my case how can I do?