Fixed column with two headers.

Fixed column with two headers.

Noodles12Noodles12 Posts: 107Questions: 38Answers: 2
edited March 2023 in Free community support

I have a datatable with two headers and one fixed column. The requirement is to keep the first column fixed while able to scroll other columns.
The problem is the second header works correctly, but the first header scrolls over the second column. Is there a way to make sure that both headers for the first column remain fixed? Thanks.

There was a similar question https://datatables.net/forums/discussion/72840/multiple-thead-headers-with-left-fixed-column but I'm not sure how it was resolved.

Here is my example -

https://live.datatables.net/nupawudi/1/edit

Answers

  • allanallan Posts: 61,823Questions: 1Answers: 10,129 Site admin

    Hi,

    I'm afraid FixedColumns does not currently support multiple rows in the header. Sorry! That is something that needs to be resolved and will be in DataTables v2, but I don't yet have a time line for that.

    Allan

  • Noodles12Noodles12 Posts: 107Questions: 38Answers: 2

    Thankyou for your response. I ended up merging the first column headers .

Sign In or Register to comment.