In my code I need to index of the newly added rows.
I tried to use onRowInsert and onRowInit :
onRowInserted(index, row) {
console.log("IndeX "+index);
console.log("RoW "+row);
rowInsert(index);
},
But I allways get an undefined value for index and un undefined row object.
Then something goes wrong and I don’t see the new row.
Looking into the browser console I see an error : o is undefined.
What’s wrong ?
Tks
Tullio
UPDATE : the o is undefined error comes out even if I remove the onRowInit and/or the onRowInserted method.