Hello all,
I have a dropdownlist in grid
columns: [
{ text: ‘ExtensionName’, datafield: ‘ExtensionName’, width: 250 },
{
text: ‘AssetType’, datafield: ‘AssetTypeName’, width: 150, id: ‘ddl’, columntype: ‘dropdownlist’,
createeditor: function (row, column, editor) {
editor.jqxDropDownList(
{
source: ListAdapter, displayMember: ‘Name’, valueMember: ‘PKAssetTypeID’
});
},
// update the editor’s value before saving it.
cellvaluechanging: function (row, column, columntype, oldvalue, newvalue) {
alert(newvalue);
},
when i select the item in dropdownlist
iam getting item name only.
i need to get item value.
in the above “cellvaluechanging” function
in the alert box i have typed “newvalue” but it is showing “seleted item text ”
but i need item value
help me………………..it’s uegent