I have applied Fixed header and while onload the fixed header is not fixed on top

I have applied Fixed header and while onload the fixed header is not fixed on top

KalyanSrajKalyanSraj Posts: 1Questions: 1Answers: 0
edited January 18 in FixedHeader

I have applied Fixed header and while onload the fixed header is not fixed on top, But if i'am doing any click on sorting or expand tables than the fixedheader is working fine.

var myTable = $("#example).DataTable({
"search": {
"caseInsensitive": true
},
data: dataSet,
dom: "<lBf<t>ip>",
initComplete: (settings, json) => {
}
}),
new $.fn.dataTable.FixedHeader(myTable)

What would be the issue to block the fixed header onload?

Answers

  • colincolin Posts: 14,209Questions: 1Answers: 2,408

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.