Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

How to get selected full row data

Developer BG asked on October 12, 2017

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

3 answers

Tanya Gryshko Flexmonster October 12, 2017

Please take a look at getCell and getSelectedCell API calls.
Does it help?

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.

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