Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Drop down Text value is not displaying in grid
posted

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.

Parents
  • 23953
    Offline posted

    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 Pavlov
    Infragistics, Inc.

Reply Children
No Data