Posted 15 January 2022, 1:10 am EST
I’m using angular 8 with wijmo grid. I’m facing issue to get selected row.
It worked fine when data is assigned from type script but it didn’t work when
I assigned data via http call where it takes time to load data. I assumed that
this is happening because the grid is not getting loaded till data is assigned
and some properties are not available.
I’m getting following error
selectionChanged is undefined for this line
flexInitialized(flexgrid: wjGrid.FlexGrid) { // in html its (initialized)
console.log(“on change”);
flexgrid.selectionChanged.addHandler(() => {
if (flexgrid.selection.isSingleCell) {
let r:wjGrid.CellRange = flexgrid.selection;
What are my options here so that I can get selected row/data ?