FixedHeader duplicated when change page

FixedHeader duplicated when change page

cdvsqlcdvsql Posts: 2Questions: 0Answers: 0

Hi,

i'm using fixedHeader with bootstrap, and i've found a problem i can't resolve. When i load a new page, the fixedHeader in the previous page, duplicate itself and comes over the datatable loaded in the new page.

Replies

  • kthorngrenkthorngren Posts: 21,591Questions: 26Answers: 5,006

    Not sure about the duplicate header, its difficult to see with it blocked out. However I do see you have two sets of sorting icons; one from Bootstrap and the other from Datatables. This leads me to believe you have conflicting CSS and JS files. This maybe causing your other issue but without seeing your code its hard to say.

    The Bootstrap Styling page will explain the files you should be using. The Download Builder can be used to build the correct files you need.

    Kevin

  • cdvsqlcdvsql Posts: 2Questions: 0Answers: 0

    The first two rows are header and filter in <thead> and the other are rows of datatable.
    I'm using this code on definition of the table

     fixedHeader: {
                header: true
            },
    

    without using scrollX or scrollY options.

  • kthorngrenkthorngren Posts: 21,591Questions: 26Answers: 5,006

    What about the CSS and JS include lines you have in HTML?

    Can you put your code into a test case so we can help troubleshoot?

    Kevin

This discussion has been closed.