JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Cell.row is undfined in onCellUpdate › Reply To: Cell.row is undfined in onCellUpdate
May 3, 2022 at 2:44 pm
#103128
martin-jq
Participant
Hello tbettinazzi@axioma.it,
Please, note that the first argument of the onCellUpdate
callback is calls cells
and it represents an array of edited cells.
So you should get the row id like this: cells[0].row.id
Please, check this Example.
Best Regards,
Martin
Smart HTMLElements Team
https://www.htmlelements.com/