Hello Abijeet,
To achieve what you require, please use the geteditorvalue callback function. Here is a modification of the column settings of the aforementioned example:
{ text: 'Ship City', datafield: 'ShipCity', width: 150, columntype: 'combobox', createeditor: function (row, column, editor) { // assign a new data source to the combobox. var list = ['Stuttgart', 'Rio de Janeiro', 'Strasbourg']; editor.jqxComboBox({ autoDropDownHeight: true, source: list, promptText: "Please Choose:" }); }, // update the editor's value before saving it. cellvaluechanging: function (row, column, columntype, oldvalue, newvalue) { // return the old value, if the new value is empty. if (newvalue == "") return oldvalue; }, geteditorvalue: function (row, cellvalue, editor) { // return the editor's value. return editor.find('input').val(); }},
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/