Appending an id to

Appending an id to

spitfire45spitfire45 Posts: 18Questions: 0Answers: 0
edited March 2010 in General
Looking to add the record index value to the tag, eg: . I have the value in the first column which is hidden but can't see how to add this in.

Any help would be greatly appreciated.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Try using fnRowCallback - http://datatables.net/usage/callbacks#fnRowCallback

    Allan
  • spitfire45spitfire45 Posts: 18Questions: 0Answers: 0
    Thanks Allan,

    After

    "fnRowCallback": function( nRow, aData, iDisplayIndex ) {

    what would use to add the value of column 0 (which is hidden) to the id?
This discussion has been closed.