JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › how to get selected row data › Reply To: how to get selected row data
January 28, 2020 at 1:26 pm
#100621
admin
Keymaster
Hi olaf,
Sorry, the correct code actually is:
var rowMeta = grid.getSelection().rows[0]; var data = rowMeta.row.data;
So if you have a firstName data field, you can access it like that:
data.firstName
Regards,
Peter
Smart HTML Elements
https://www.htmlelements.com/