0

I use the dijit.form.select with the grid editor like this:

editor({    
    label: 'status',
    field: 'status_name',
    editorArgs: {
        style: "width:75px;",
        options: task_status
    },
    className: 'style8'
}, Select, "dblclick"),

when I open the select field and choose an option from the list, this returns the 'value' of selected option not the name of it.
how to get the value instead of the value?

Tariq
  • 2,853
  • 3
  • 22
  • 29

1 Answers1

0

Check the objects in your options list. Each object should have a label and value property. The label is what will be displayed when selected.