raranibar

Forum Replies Created

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • in reply to: Dropdown List show me the description not value #100807
    raranibar
    Participant

    Hi Tony

    this is my colModel:

    colModel:

    [

    { name: 'sdv_idreclamo', index: 'sdv_idreclamo', editable: true, edittype: 'text', editoptions: { defaultValue: Idreclamo }, hidden: true },

    {name: 'sdv_sec', index: 'sdv_sec', formatter: 'integer', hidden: true },

    { name: 'sdv_parpieza', index: 'sdv_parpieza', align: 'left', width: '35', editable: true, edittype: 'select', editoptions: { dataUrl: '@Url.Action(“CargaDropDown”, “raTabDatosVehiculo”, new { param = “PIEZA”})', buildSelect: createSelectList} },

    { name: 'sdv_parcodclase', index: 'sdv_parcodclase', sortable: true, align: 'left', width: '35', editable: true, edittype: 'select', editoptions: { dataUrl: '@Url.Action(“CargaDropDown”, “raTabDatosVehiculo”, new { param = “CODCLASE”})', buildSelect: createSelectList} }

    ….

    ],

    When I view the web page don't show me the description only displayed the value.

    for example the column sdv_pieza description is “AMORTIGUADOR” value :001, when it load the grid display 001 I would like that it display “AMORTIGUADOR”

    I've added formatter: 'select' in the

Viewing 1 replies (of 1 total)

Stay connected with us in your favorite flavor!