FixedColumns, FixedHeader and the first row

FixedColumns, FixedHeader and the first row

Flame113Flame113 Posts: 7Questions: 1Answers: 0
edited October 2011 in General
Hi all,

I have a table like this: http://datatables.net/extras/fixedcolumns
But the first row is a total row so I need to freeze the first row along with the table header.

Is there any way to do it?

Thanks a lot :)

Replies

  • Flame113Flame113 Posts: 7Questions: 1Answers: 0
    Is there anyone can help me with this problem please?
  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    I'm afraid I don't quite understand. The table on the page you linked to does have the first column frozen in place already. That's what the FixedColumns plug-in is for :-)

    Allan
  • Flame113Flame113 Posts: 7Questions: 1Answers: 0
    OMG sorry, it is my bad. I meant the first row :(
  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Ah I see - you want to freeze the first row of the table's body in place? That isn't currently functionality that FixedColumns provides. What you can do though is just have two rows in your header, which would create that same effect :-)

    Allan
  • Flame113Flame113 Posts: 7Questions: 1Answers: 0
    Thank you very much. I tried to do it before but it threw some exceptions. I will try it again :)
  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Make sure you are using DataTables 1.8 and the latest versions of the various plug-ins ( http://datatables.net/download ) :-)

    Allan
This discussion has been closed.