In MVC Application, i am using infragistics grid for inline editing.
I have placed drop down for a column in grid. When selecting dropdown, it is showing text value.But selecting drop down , value is displaying in grid.
This is source Code.
cs.ColumnSetting().ColumnKey("BRD_STATUS").EditorType(ColumnEditorType.Combo).Required(false).ComboEditorOptions(co => co.DataSource(ViewBag.BRD_STATUS).TextKey("STA_DESC").ValueKey("STA_CODE").Mode(ComboMode.DropDown).EnableClearButton(false));
Please Help me.
Hello Thangabalu,
When having Combo editor column with both TextKey and ValueKey you should also define formatter function for the column as demonstrated in the "Basic Editing" sample for "Ship Name" column. For detailed explanation on how to configure Combo editor provider please see the "Working with igCombo editor provider" topic.
Hope this helps,Martin PavlovInfragistics, Inc.
Thanks for your valuable suggestion. Now it is working fine.