KoolReport's Forum

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

Sticky header #2619

Closed Ron opened this topic on on Mar 28, 2022 - 1 comments

Ron commented on Mar 28, 2022

Hi, I am using a DataTables widget. the table header is two rows and I am using a the following css for the header to remain sticky at the top of page in order to prevent from scrolling when the table is large. the issue is because I am using a multi row header then the bottom row is scrolling. you can see the following image

I want all the head rows to remain sticky!

this is the table head before scroll

this is the table head after scroll

Ron commented on Mar 28, 2022

solved with fixedHeader plugin

DataTables::create(array(
                "plugins" => [ "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
solved

None