adding a row at the top of table

adding a row at the top of table

markomanmarkoman Posts: 1Questions: 0Answers: 0
edited July 2010 in General
Hello!
does anyone has an idea how to add a row at the top of the table?

Replies

  • jonoeoojonoeoo Posts: 4Questions: 0Answers: 0
    I would also like to know how to do this!
    Jono
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Ordering in DataTables is entirely based on sorting. So if you want to at a row to the top of the table, it must come first in the current sorting.

    Another option, if it's not 'body' content you want to add, you can add a second TR row in THEAD with TD elements to give more information about a column.

    Allan
  • jonoeoojonoeoo Posts: 4Questions: 0Answers: 0
    Great idea, thanks for all your help Allan,

    Jono
This discussion has been closed.