I have the following code:
columns: [
{ text: 'RIDER', datafield: 'NAME', columntype: 'dropdownlist', width: 200,
createeditor: function (row, value, editor) {editor.jqxDropDownList({source: ridAdapter, displayMember: 'RINAME', valueMember: 'RIID' })
editor.on('select', function (event) {
data = $("#transGrid").jqxGrid('getrowdata',row);
console.log(data.TID);
console.log(args.item.value);
});
}
},
The issues are as follows:
1 – The event fires mutiple times. When selecting the cell, when opening the drop down and when selecting an item. Why is that. Supposed to only fire after selecting an item.
2 – The value of row does not change making it impossible to obtain proper row data. Furthermore, when selecting another row the event display multiple values from the previous rows.
So, all I need is the new value of the item selected and the row data of the selected row. I have tested the examples and the same thing happens.