KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Need help on how to add sticky on the column header of the Data Table report #2983

Open Komuraiah A opened this topic on on Feb 10, 2023 - 1 comments

Komuraiah A commented on Feb 10, 2023

Hi, am trying to add a sticky on the column header of the DataTables report. so can you help me how to add the sticky on DataTables report columns? Because my DataTable is large and when I scroll the page columns are not visible. I thought I would scroll down, and the column header would stay on the top.

Sebastian Morales commented on Feb 14, 2023

You can try the DataTables' fixedHeader plugin like this:

            DataTables::create(array(
                ...
                "plugins" => array(
                    "FixedHeader"
                ),
                "options" => array(
                    "fixedHeader" => true, 

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

None