ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: mikep on July 11, 2024, 05:46:17 pm
-
How can I trigger the onchange event of a select item to get the selected value and the rowData for that row? Should i use editor?
{
title: "Actions",
editor: { type: "select", options: ["","Action 1 for this row...","Action 2 for this row..."] }
}
-
There is editor.getData callback to obtain selected value and rowData.
https://paramquery.com/pro/api#option-column-editor
getData: function( ui ){
var val = ui.$cell.find('select').val();
var rowData= ui.rowData;
}