Posted 8 September 2022, 12:13 am EST
How to get the current flexgrid from GridId without creating anew one?
I’m trying to determine the actual selected row count in OutSystems and I’m using this function:
function showCheckedCount(gridID) {
const grid = new wijmo.grid.FlexGrid(gridID, {});
sel = grid.rows.filter(r => r.isSelected);
cnt = sel.length;
return cnt;
}
But the grid already exists and so I’m getting an error.
Can someone help?