Highlighting a row in a paginated Datatable

Highlighting a row in a paginated Datatable

adonis16adonis16 Posts: 2Questions: 0Answers: 0
edited April 2012 in General
I need to highlight a particular row in paginated table. I am not sure how to endup in the same page as the highlighted row and also how to highlight a particular row .Any help is appreciated.

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Well do you have the TR element that you want to highlight? Highlighting it would just be a case of adding a class to it, and paging to it could be done with this plug-in: http://datatables.net/plug-ins/api#fnDisplayRow

    Allan
  • adonis16adonis16 Posts: 2Questions: 0Answers: 0
    Thanks Allan .. In my case I dont have tr elements. The data is coming from Ajax call as json object and fed into datatable using aadata.So I was not sure how to highlight the row
This discussion has been closed.