How to set the index values in particular order of each row in table

How to set the index values in particular order of each row in table

Anudeep937Anudeep937 Posts: 1Questions: 1Answers: 0

I need the value of the row index to perform processing or fetching that particular selected row data

Answers

  • rf1234rf1234 Posts: 2,943Questions: 87Answers: 416

    you probably want the row id, don't you? If you use the select extension this is pretty easy:

    ......
    var selectedId = '#' + yourTable.row({selected: true}).id();
    yourTable.row(selectedId).do something ...
    
This discussion has been closed.