How to get selected full row data

Answered
Developer BG asked on October 12, 2017

Hi, its possible with the API get all cells values (full row) of a seleted row?.
Thanks!

3 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster October 12, 2017

Hi!
Please take a look at getCell and getSelectedCell API calls.
Does it help?
Regards, 
  Tanya

Public
Developer BG October 12, 2017

Hi Tanya, yes i saw these methods but i need to get the values of all cells of a selected row and not only a specific cell. Thanks.

Public
Tanya Gryshko Tanya Gryshko Flexmonster October 12, 2017

Every element on a grid has property data-r which is a number of row and data-c is number of column.
So I can recommend the following approach: document.querySelectorAll('div[data-r="3"]')
Does it work for you?

Please login or Register to Submit Answer