Dear All,
I'm using a combo box type to a field and sets the optionDataSource property to show the list of records. My code to create list grid is
When i select any record from the drop down list it shows displayfield correctly, after i press enter key or gone to enter any field in any other row the drop down field value converted to value field.
I want to show the displayField value at all time and i should be able to get the valueField value when get the grid values to update in backend table.
Please guide me... I spent 2 days already in this..
Thanks in advance.
-Harikrishnadhas.K
I'm using a combo box type to a field and sets the optionDataSource property to show the list of records. My code to create list grid is
Code:
isc.ListGrid.create({ ID : "country", top : 200, width : 720, height : 150, alternateRecordStyles : true, fields:[ {name:"currencycode", ID:"currencycode", title:"Currency", editorType: "comboBox", width:150, editorProperties: {textMatchStyle: "substring", valueField: "currencycode", displayField: "currencyname", pickListFields: [{name:"currencyname",title:"Currency Name"},{name:"currencycode",title:"Currency Name"}],pickListWidth:250, pickListHeight:100, autoFetchData: true, showAllRecords:true, focus:"parent.getDDDWData('D_DDDW_CURRENCY',this);" }, prompt:"Enter the Follow Up By user"}], canEdit : true });
I want to show the displayField value at all time and i should be able to get the valueField value when get the grid values to update in backend table.
Please guide me... I spent 2 days already in this..
Thanks in advance.
-Harikrishnadhas.K
Comment