Nov 02, 2010, 4:28 PM
Editable Grid Panel with Combo box column
Hi,
Hi,
I am working with Editable Grid. One column of Grid has combo box (drop down). After Row edit, Grid should display the Display Field value while still store ValueField value of Combo box somewhere?
AS of now, when I select any value from Dropdown and I move to other field of grid, grid column shows value field of Drop down and not the DisplayField. Please suggest the sulution. Find below my code.
Jigpatel.
Hi,
I am working with Editable Grid. One column of Grid has combo box (drop down). After Row edit, Grid should display the Display Field value while still store ValueField value of Combo box somewhere?
AS of now, when I select any value from Dropdown and I move to other field of grid, grid column shows value field of Drop down and not the DisplayField. Please suggest the sulution. Find below my code.
<ext:Store ID="Store2" runat="server">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="ManagerID" />
<ext:RecordField Name="ManagerName" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
<!--In Grid-->
<ext:Column ColumnID="Name" Header="Manager" DataIndex="Manager">
<Editor>
<ext:ComboBox ID="cbActMgr" runat="server" DisplayField="ManagerName" ValueField="ManagerID" StoreID="Store2" />
</Editor>
</ext:Column>
Thanks in advance.Jigpatel.
Last edited by Daniil; Nov 03, 2010 at 8:04 PM.
Reason: Removed space in [ /CODE]