ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: fings on January 21, 2021, 09:04:32 am
-
excuse me,
when i set:
selectionModel: { type: 'cell', row: true }
it's can selected row by number cell,
but, i want to get my SelectRow from this:
let sel = $pqgrid.SelectRow();
let selectArray = sel.getSelection();
it's hasn't any data, selectArray = []???
how can i get SelectRow?
thank you vary much
-
When selectionModel.type = 'cell' it turns on Range selections which work similar to a spreadsheet.
And for that there is different API.
https://paramquery.com/pro/api#method-Selection
-
When selectionModel.type = 'cell' it turns on Range selections which work similar to a spreadsheet.
And for that there is different API.
https://paramquery.com/pro/api#method-Selection
oh,thank you, at the same time, i have tryed,
$pqgrid.Selection().getSelection();
it's return array of all selected cells, i can get rowData in it ,thank you~~
-
When selectionModel.type = 'cell' it turns on Range selections which work similar to a spreadsheet.
And for that there is different API.
https://paramquery.com/pro/api#method-Selection
i have another idea: getRowsByClass; can i?