85
iggrid get selected row values or index from different pages
posted

Hi,

I am trying to get the selected row index from iggrid with different pages in jquery.

When I have only single page then I am able to get value. But when i have multiple pages in grid then i am not able to get the records/values/index.

var grid = $(iggridid).igGrid("selectedRows");

Scenario1:

I have selected 2 rows from page1 and page2. I get correct index value for page2 but I am getting -1 for page1.

Scenario2:

When i have single page then below code works fine

grid[0].element.context.rows[j].cells[1].inntertext;

Please help to get value or index of selected rows from iggrid with different pages.

Thanks

Mukesh