<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>FixedHeader — DataTables forums</title>
        <link>https://next.datatables.net/forums/</link>
        <pubDate>Wed, 22 Jul 2026 01:32:48 +0000</pubDate>
        <language>en</language>
            <description>FixedHeader — DataTables forums</description>
    <language>en</language>
    <atom:link href="https://next.datatables.net/forums/categories/fixedheader/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>sticky headers lose their position</title>
        <link>https://next.datatables.net/forums/discussion/80777/sticky-headers-lose-their-position</link>
        <pubDate>Sat, 29 Mar 2025 16:27:09 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>veloopity</dc:creator>
        <guid isPermaLink="false">80777@/forums/discussions</guid>
        <description><![CDATA[<p>It's been a while since we programmed this for our client. The problem was there from the beginning and we eventually gave up on fixing it. The client now asks if a fix has been found in the meantime.<br />
The datatable can have many rows (set it to 100 or so), so we added a sticky header which looks ok while scrolling down, then when the headline hits the upper edge of the page it becomes sticky and still looks ok, but as soon as you then scroll up again, the headers lose their position and get evenly spaced. This might well be some effect of interaction with other javascript on the page that we can't easily change but just in case - if you have an idea, please let me know.<br />
<a rel="nofollow" href="https://www.investmentfonds.de/vergleich-fonds-etfs-top-10.cfm">https://www.investmentfonds.de/vergleich-fonds-etfs-top-10.cfm</a></p>
]]>
        </description>
    </item>
    <item>
        <title>How can I remove overflow:hidden from fixedFooter</title>
        <link>https://next.datatables.net/forums/discussion/79781/how-can-i-remove-overflow-hidden-from-fixedfooter</link>
        <pubDate>Wed, 04 Sep 2024 14:06:52 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>smoldovanskiy</dc:creator>
        <guid isPermaLink="false">79781@/forums/discussions</guid>
        <description><![CDATA[<p>Is it possible to remove the overflow:hidden from the fixedFooter control.</p>

<p>It is causing dropdown to be hidden. This started for me after updating to latest datables. It was working previously.</p>
]]>
        </description>
    </item>
    <item>
        <title>FixedHeader not working with Bootstrap</title>
        <link>https://next.datatables.net/forums/discussion/70401/fixedheader-not-working-with-bootstrap</link>
        <pubDate>Tue, 26 Oct 2021 19:43:53 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>ErnestUser</dc:creator>
        <guid isPermaLink="false">70401@/forums/discussions</guid>
        <description><![CDATA[<p>Hi!,</p>

<p>I want to use FixedHeader but it doesn't seem to work. My datatable is inside a Bootstrap Card and I'm using KnockoutJS.</p>

<p><strong>Here is my initialization:</strong></p>

<pre><code>   let columns=[{data:"order",title:"",render:function(data,type,row){return data},width:"25px"},{data:null,title:"",render:function(data,type,row){return'&lt;div class="border rounded expand-collapse"&gt;&lt;i class="fas"&gt;&lt;/i&gt;&lt;/div&gt;'},width:"25px"},{data:"coverage_description()",title:"Coverage",render:function(data,type,row){if(type=="filter"){return data}
return'&lt;div class="input-group ko-element"&gt;'+'&lt;input class="form-control" type="text" data-bind="value: coverage_description, enable: false" /&gt;'+'&lt;/div&gt;'},orderDataType:"dom-text",type:"string",searchable:!0,width:"auto",},{data:"coverage_group_name()",title:"Coverage Group",render:function(data,type,row){if(type=="filter"){return data}
return'&lt;div class="input-group ko-element"&gt;'+'&lt;input class="form-control" type="text" value="'+row.coverage_group_name()+'" disabled /&gt;'+'&lt;/div&gt;'},type:"string",searchable:!0,visible:!0,width:"160px",},{data:"risk_ref_name()",title:"Risk",render:function(data,type,row){if(type=="filter"){return data}
return'&lt;div class="input-group ko-element"&gt;'+'&lt;input class="form-control" type="text" value="'+row.risk_ref_name()+'" disabled /&gt;'+'&lt;/div&gt;'},type:"string",searchable:!0,visible:!0,width:"170px",},{data:"amount_insurance()",title:"Amount ($)",render:function(data,type,row){if(type=="filter"){return(!data)?0:data}
return'&lt;input type="text" class="form-control input-text-right ko-element editable" data-bind="formatAsCurrency: amount_insurance, enable: !isReadOnly" /&gt;'},orderDataType:"dom-text-numeric",type:"currency",width:"120px",searchable:!1},{data:"rate()",title:"Rate (%)",render:function(data,type,row){if(type=="filter"){return(!data)?0:data}
return'&lt;input type="text" class="form-control input-text-right ko-element editable" data-bind="value: rate, enable: !isReadOnly"/&gt;'},orderDataType:"dom-text-numeric",type:"currency",width:"70px",searchable:!1},{data:"net_premium()",title:"Premium ($)",render:function(data,type,row){if(type=="filter"){return(!data)?0:data}
return'&lt;input type="text" class="form-control input-text-right ko-element editable" data-bind="formatAsCurrency: net_premium, enable: !isReadOnly "/&gt;'},orderDataType:"dom-text-numeric",type:"currency",width:"120px",searchable:!1},{data:"included()",title:"Included",render:function(data,type,row){if(type=="filter"){return(!data)?!1:data}
return'&lt;select class="form-control ddl-included ko-element-select" data-bind="options: CoverageStatusList, value: status_option_ref_id, optionsText: \'Text\', optionsValue: \'Value\', optionsCaption: \'\', enable: !isReadOnly"&gt;&lt;/select&gt;'},orderable:!1,searchable:!1,width:"150px",},{data:null,title:"",render:function(data,type,row){return'&lt;input type="checkbox" class="checkbox-for-delete" data-bind="checked: isChecked" /&gt;'},width:"25px",orderable:!0,className:"text-center",visible:(viewModel.Policy().is_template()||bindingContext.$root.Policy().transaction_type_ref_id()=='z:NB'||bindingContext.$root.Policy().transaction_type_ref_id()=='z:RWL')}]

let dt = $(element).DataTable({
            //dom: '&lt;"toolbar sticky sticky-top"&gt;frtip', // This is for the tools.
            dom: '&lt;"toolbar"&gt;frtip', // This is for the tools.
            processing: true,
            deferRender: true,
            rowId: "array_id",
            info: false,
            paging: false,
            rowReorder: {
                enable: false,
                dataSrc: "order",
                update: true,
                snapX: 10,
                selector: "tr"
            },
            order: [[0, "asc"]],
            columnDefs: [
                { targets: 0, visible: false }
            ],
            autoWidth: false,
            columns: columns, // &lt;-- Separate variable with all columns
            createdRow: function (row, data, dataIndex) {
                
                // Knockout binding to the row.
                ko.applyBindings(data, row);
            },
            select: {
                style: "single",
                className: "row-selected"
            },
            rowGroup: {
                enable: !isNullOrEmpty(localStorage.getItem(localStorageGroupByKey)),
                dataSrc: [],
                startRender: function (rows, group) {

                    // This is a custom grouping.
                    let template = $('&lt;tr/&gt;')
                        .append('&lt;td colspan="8"&gt;&lt;span class="group-name"&gt;' + group + ' &lt;b&gt;(' + rows.nodes().length + ')&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;');
                    
                    if (bindingContext.$root.Policy().is_template() ||
                        bindingContext.$root.Policy().transaction_type_ref_id() == 'z:NB' ||
                        bindingContext.$root.Policy().transaction_type_ref_id() == 'z:RWL') {

                        let groupModel = {
                            isChecked: ko.observable(false)
                        }
                        groupModel.isChecked.subscribe(function (val) {
                            checkedByGroup(val, rows);
                        });

                        let checkbox = (!bindingContext.$root.Policy().is_bound()) ? '&lt;input type="checkbox" class="checkbox-for-delete float-right mr-1 " data-bind="checked: isChecked" /&gt;' : '';

                        template = $('&lt;tr/&gt;')
                            .append('&lt;td colspan="8"&gt;&lt;span class="group-name"&gt;' + (!isNullOrEmpty(group) ? group : "No Group") + ' &lt;b&gt;(' + rows.nodes().length + ')&lt;/b&gt;&lt;/span&gt;' + checkbox + '&lt;/td&gt;');

                        if (!bindingContext.$root.Policy().is_bound()) {
                            ko.applyBindings(groupModel, template.find(".checkbox-for-delete")[0]);
                        }
                        
                    }

                    return template;

                }
            },
            language: {
                emptyTable: "No Coverages",
                zeroRecords: "No matching coverage found"
            },
            fixedHeader: true
        });
</code></pre>

<p>**I'm also using other extensions. See below all the references: **</p>

<pre><code>    &lt;link rel="stylesheet" href="https://nightly.datatables.net/css/dataTables.bootstrap4.min.css" /&gt;
    &lt;link rel="stylesheet" href="https://cdn.datatables.net/rowreorder/1.2.8/css/rowReorder.dataTables.min.css" /&gt;
    &lt;link rel="stylesheet" href="https://cdn.datatables.net/fixedheader/3.2.0/css/fixedHeader.dataTables.min.css" /&gt;

&lt;script src="https://cdn.datatables.net/1.10.25/js/jquery.dataTables.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/fixedheader/3.2.0/js/dataTables.fixedHeader.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/plug-ins/1.10.24/sorting/custom-data-source/dom-text.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/plug-ins/1.10.24/sorting/custom-data-source/dom-text-numeric.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/rowreorder/1.2.8/js/dataTables.rowReorder.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/select/1.3.3/js/dataTables.select.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/1.10.20/js/dataTables.bootstrap4.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/responsive/2.2.3/js/responsive.bootstrap4.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/plug-ins/1.10.25/sorting/date-dd-MMM-yyyy.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/rowgroup/1.1.3/js/dataTables.rowGroup.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdn.datatables.net/plug-ins/1.10.25/sorting/currency.js"&gt;&lt;/script&gt;
</code></pre>

<p>Thank you!</p>

<blockquote>
  <p><strong>Edited by Colin</strong> - Syntax highlighting. Details on how to highlight code using markdown can be <a rel="nofollow" href="/manual/tech-notes/8#Code">found in this guide</a>.</p>
</blockquote>
]]>
        </description>
    </item>
    <item>
        <title>Missing versions (or fix) of FixedHeader?   4.0.2?</title>
        <link>https://next.datatables.net/forums/discussion/76463/missing-versions-or-fix-of-fixedheader-4-0-2</link>
        <pubDate>Tue, 06 Jun 2023 18:47:00 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>lisarush</dc:creator>
        <guid isPermaLink="false">76463@/forums/discussions</guid>
        <description><![CDATA[<p>We were previously using DataTables with jQuery-UI.  Last year, we had an issue with <strong>FixedHeader &amp; the screen jumping vertically back to the top (unable to scroll down)</strong>.  Allan resolved this issue February 2022, see <a rel="nofollow" href="https://datatables.net/forums/messages/4274/#Item_24.">https://datatables.net/forums/messages/4274/#Item_24.</a></p>

<p>We have now migrated to using Bootstrap with the latest DataTables release.  The issue has re-appeared &amp; is very easy to reproduce on our system.<br />
In the linked chat, he had mentioned the fix being in version 4.0.2, which I do not see.<br />
(at the time of the fix, we just rolled with using the Nightly version -- but now, of course, would like to use the official released version)</p>

<p>We are seeing this issue on Firefox, Chrome, and Safari on a MAC.</p>

<p>Any thoughts?<br />
Sincerely,<br />
-- Lisa</p>
]]>
        </description>
    </item>
    <item>
        <title>Column Filtering</title>
        <link>https://next.datatables.net/forums/discussion/75812/column-filtering</link>
        <pubDate>Fri, 17 Mar 2023 14:43:28 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>fcbc.paul</dc:creator>
        <guid isPermaLink="false">75812@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>: <a rel="nofollow" href="https://datatables.net/extensions/fixedheader/examples/integration/columnFiltering.html">https://datatables.net/extensions/fixedheader/examples/integration/columnFiltering.html</a></p>

<p><strong>Description of problem</strong>: Is there a way to exclude a column from being searchable? Is there a way to not show the footer?</p>
]]>
        </description>
    </item>
    <item>
        <title>Please help my table has header width automatically set to 0px when it's first rendered,</title>
        <link>https://next.datatables.net/forums/discussion/73517/please-help-my-table-has-header-width-automatically-set-to-0px-when-its-first-rendered</link>
        <pubDate>Thu, 28 Jul 2022 01:27:45 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>lmnguyen</dc:creator>
        <guid isPermaLink="false">73517@/forums/discussions</guid>
        <description><![CDATA[<p>I've used this function to initialize my table<br />
don't know what I've done wrong, my table appears with all column's width have been set to 0px (as shown in the picture)<img src="https://datatables.net/forums/uploads/editor/vi/0x2oy84zcwo9.jpg" alt="" title="" /></p>

<p>function ShowListOfCriteriaAvaiableFields(oRetVal) {<br />
    var oTblList = $("#tblCustReportCriteriaAvailableFields")<br />
    var btnClassName = 'btn btn-sm gtd-header-button';</p>

<pre><code>var dtData = oRetVal.lAvalableCriteriaFields;
oCustReportCriteriaAvailabelField =
    oTblList.DataTable({
        data: dtData,
        fixedHeader: true,
        rowCallback: function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
            if (aData != null &amp;&amp; aData != "") {
                $('td', nRow).css({ 'background-color': "#e3f9e0" });
                $('td', nRow).eq(0).css({ 'background-color': "#27d7ea" });
            }
        },
        "aoColumns": [
            { "mData": "field_name", "sTitle": "Field Name", "sWidth": "30%" },
            //{ "mData": "group_name", "sTitle": "Group Name", "sWidth": "30%" },
            { "mData": "ui_control_type", "sTitle": "Control Type", "sWidth": "10%" },
            {
                "sWidth": "10%",
                "sTitle": "In Use",
                "mData": "in_criteria_list",
                "mRender": function (data, type, full) {
                    var htmlStr = "";
                    var inCriteriaList = full.in_criteria_list;
                    var btnType = 'pill';
                    var stateName = '';
                    var GTDSubmissionNo = '0';
                    var cbChecked = inCriteriaList ? " checked " : ""

                    var groupName = '';
                    var groupIndex = 0
                    htmlStr = htmlStr + '&lt;input  type="checkbox" id="btnAdAvaiCriteria' + '_' + full.field_no + '" data-toggle="tooltip" data-placement="top" ' + cbChecked + '&gt;'
                    return htmlStr;
                }
            },
            {
                "sWidth": "20%",
                "sTitle": "Add/Remove",
                "mData": "in_criteria_list",
                "mRender": function (data, type, full) {
                    var htmlStr = "";
                    var inCriteriaList = full.in_criteria_list;
                    var btnColor = inCriteriaList ? "warning" : "royal";
                    var btnText = inCriteriaList ? "Remove" : "Add"
                    var btnType = 'pill';
                    var popup = 'Click here to add this field to report criteria list';
                    var groupName = '';
                    var groupIndex = 0
                    //if (!inCriteriaList) {
                        htmlStr = htmlStr + '&lt;a id="btnAdAvaiCriteria' + '_' + full.field_no + '" class="button button-tiny button-' + btnColor + ' button-' + btnType + ' button-raised" ' +
                            ' data-toggle="tooltip" data-placement="top"  title="' + popup + '" href="#" onclick=\"javascript:ShowCriteriaAvailabeFieldInfo(' + full + ')\"&gt;' + btnText + '&lt;/a&gt;'

                    //}
                    return htmlStr;
                }
            }
        ],
        select: {
            style: 'single',
            selector: 'td:first-child'
        },
        "scrollY": "40vh",           
        "scrollCollapse": true,          
        "paging": true,
        "info": true,
        "ordering": true,
        "searching": true,
        "bDestroy": true,
        "lengthMenu": [[15, 20, 30, 40, 100, -1], [15, 20, 30, 40, 100, "All"]]
    });

//correct the datatable behavior when hovering
CorrectHoveringOnSelectedRow();
oCustReportCriteriaAvailabelField
    .on('select', function (e, dt, type, indexes) {
        oCustReportCriteriaAvailabelField[type](indexes).nodes().to$().addClass('custom-selected');
        if (type == 'row') {
            var oRowData = oCustReportCriteriaAvailabelField.rows(indexes).data().toArray();
            ShowCriteriaSetupDetail(oRowData)
        }
    })
    .on('deselect', function (e, dt, type, indexes) {
        var rowData = oCustReportCriteriaAvailabelField.rows(indexes).data().toArray();
    });

oCustReportCriteriaAvailabelField.columns.adjust().draw();
</code></pre>

<p>}</p>
]]>
        </description>
    </item>
    <item>
        <title>Disabled FixedHeader is re-enabled when columns.adjust() is called</title>
        <link>https://next.datatables.net/forums/discussion/73083/disabled-fixedheader-is-re-enabled-when-columns-adjust-is-called</link>
        <pubDate>Wed, 15 Jun 2022 11:53:29 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>mika.aho</dc:creator>
        <guid isPermaLink="false">73083@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>: <a rel="nofollow" href="https://datatables.net/extensions/fixedheader/examples/options/enable-disable.html">https://datatables.net/extensions/fixedheader/examples/options/enable-disable.html</a><br />
<strong>Debugger code (debug.datatables.net)</strong>: -<br />
<strong>Error messages shown</strong>: -</p>

<p><strong>Description of problem</strong>:<br />
If an initially enabled FixedHeader is disabled by calling <code>fixedHeader.disable()</code>, calling <code>columns.adjust()</code> after that seems to re-enable it. On the FixedHeader example page it can be seen that the initially enabled header is disabled if the "Disable FixedHeader" button is pressed, but is enabled again if you interact with the table or change the browser window size.</p>

<p>I wasn't able to enable an initially disabled FixedHeader with <code>fixedHeader.enable()</code> at all, so I'm not sure if this happens the other way around also, or if that is caused by the same issue.</p>
]]>
        </description>
    </item>
    <item>
        <title>Problems with FixedHeader 3.2.x vs 3.1.9</title>
        <link>https://next.datatables.net/forums/discussion/72963/problems-with-fixedheader-3-2-x-vs-3-1-9</link>
        <pubDate>Fri, 03 Jun 2022 09:56:48 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>Nick Hope</dc:creator>
        <guid isPermaLink="false">72963@/forums/discussions</guid>
        <description><![CDATA[<p>I am finding 2 problems with FixedHeader 3.2.x compared to 3.1.9.</p>

<p><strong>RESPONSIVENESS</strong></p>

<p>FixedHeader 3.2.1 or later is slower to react than 3.1.9, which is snappier. 3 comparative examples:</p>

<p><a rel="nofollow" href="https://fplform.com/Fixed-Header-3pt1pt9.php" title="https://fplform.com/Fixed-Header-3pt1pt9.php"></a><a rel="nofollow" href="https://fplform.com/Fixed-Header-3pt1pt9.php">https://fplform.com/Fixed-Header-3pt1pt9.php</a><br />
<a rel="nofollow" href="https://fplform.com/Fixed-Header-3pt2pt1.php" title="https://fplform.com/Fixed-Header-3pt2pt1.php"></a><a rel="nofollow" href="https://fplform.com/Fixed-Header-3pt2pt1.php">https://fplform.com/Fixed-Header-3pt2pt1.php</a><br />
<a rel="nofollow" href="https://fplform.com/Fixed-Header-3pt2pt3.php" title="https://fplform.com/Fixed-Header-3pt2pt3.php"></a><a rel="nofollow" href="https://fplform.com/Fixed-Header-3pt2pt3.php">https://fplform.com/Fixed-Header-3pt2pt3.php</a></p>

<p><strong>ROWS JUMP WHEN SELECTED</strong></p>

<p>With FixedHeader 3.2.2 or later, with the Select plugin, my rows are jumping downwards significantly when selected or de-selected. With 3.2.1 or earlier, I only occasionally see a small jump upwards. 2 comparative examples:</p>

<p><a rel="nofollow" href="https://fplform.com/SearchPanes-1pt4-FixedHeader-3pt2pt1.php" title="https://fplform.com/SearchPanes-1pt4-FixedHeader-3pt2pt1.php"></a><a rel="nofollow" href="https://fplform.com/SearchPanes-1pt4-FixedHeader-3pt2pt1.php">https://fplform.com/SearchPanes-1pt4-FixedHeader-3pt2pt1.php</a><br />
<a rel="nofollow" href="https://fplform.com/SearchPanes-2pt0pt1-FixedHeader-3pt2pt3.php" title="https://fplform.com/SearchPanes-2pt0pt1-FixedHeader-3pt2pt3.php"></a><a rel="nofollow" href="https://fplform.com/SearchPanes-2pt0pt1-FixedHeader-3pt2pt3.php">https://fplform.com/SearchPanes-2pt0pt1-FixedHeader-3pt2pt3.php</a></p>

<p>(Note that the searchPanes versions are different to illustrate a separate problem, but don't affect the FixedHeader issue.)</p>
]]>
        </description>
    </item>
    <item>
        <title>FixedHeader with fixed footer - How to un-fix footer on smaller displays?</title>
        <link>https://next.datatables.net/forums/discussion/72980/fixedheader-with-fixed-footer-how-to-un-fix-footer-on-smaller-displays</link>
        <pubDate>Sun, 05 Jun 2022 17:38:39 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>Nick Hope</dc:creator>
        <guid isPermaLink="false">72980@/forums/discussions</guid>
        <description><![CDATA[<p>I am using fixed headers with fixed footers. Because my footer is quite deep, I would like to fix it on larger displays and un-fix it on mobile.</p>

<p>I have tried a few things without success. This code should convey what I'm trying to achieve.</p>

<pre><code>$(document).ready(function() {
  var table = $('#example').DataTable( {
    paging: false,
    fixedHeader: {
      header: true,
      footer: function(){
        if(window.innerHeight &gt; 800){
          return 'true';
        } else {
          return 'false';
        }
      }
    }
  } );
} );
</code></pre>

<p>Here's an example: <a rel="nofollow" href="http://live.datatables.net/foherewu/1/edit" title="http://live.datatables.net/foherewu/1/edit"></a><a rel="nofollow" href="http://live.datatables.net/foherewu/1/edit">http://live.datatables.net/foherewu/1/edit</a></p>

<p>I actually can't even work out how to dynamically change an option between true and false. I've tried 1 and 0. I've also tried setting window.innerHeight as a variable outside the function and passing it in.</p>
]]>
        </description>
    </item>
    <item>
        <title>Multiple fixed headers bug</title>
        <link>https://next.datatables.net/forums/discussion/71926/multiple-fixed-headers-bug</link>
        <pubDate>Fri, 04 Mar 2022 11:52:56 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>Steem90</dc:creator>
        <guid isPermaLink="false">71926@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>: <a rel="nofollow" href="https://datatables.net/extensions/fixedheader/examples/options/two_tables.html">https://datatables.net/extensions/fixedheader/examples/options/two_tables.html</a><br />
<strong>Debugger code (debug.datatables.net)</strong>:<br />
<strong>Error messages shown</strong>: None<br />
<strong>Description of problem</strong>: As for the problem, simply scroll down to where the fixed header of the 2nd table meets the bottom of the second table. The screen starts 'shaking', going up and down rapidly. I have the exact same problem as shown in the official documentation. Any ideas on how to fix this? I'm using multiple tables with different id attributes.</p>
]]>
        </description>
    </item>
    <item>
        <title>How to create the complex header dynamically</title>
        <link>https://next.datatables.net/forums/discussion/72291/how-to-create-the-complex-header-dynamically</link>
        <pubDate>Wed, 06 Apr 2022 07:10:14 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>emitsahu077@gmail.com</dc:creator>
        <guid isPermaLink="false">72291@/forums/discussions</guid>
        <description><![CDATA[<p>Example<br />
**<a rel="nofollow" href="https://jsfiddle.net/p73rfujd/1/**:">https://jsfiddle.net/p73rfujd/1/**:</a></p>

<p><strong>I need to create complex header like this dynamically</strong>: <img src="https://datatables.net/forums/uploads/editor/tm/y38q6t2xecrp.png" alt="" title="" /></p>
]]>
        </description>
    </item>
    <item>
        <title>FixedHeader 3.1.7 versus 3.2.2</title>
        <link>https://next.datatables.net/forums/discussion/72063/fixedheader-3-1-7-versus-3-2-2</link>
        <pubDate>Wed, 16 Mar 2022 11:22:40 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>rf1234</dc:creator>
        <guid isPermaLink="false">72063@/forums/discussions</guid>
        <description><![CDATA[<p>A few weeks ago I upgraded Data Tables, Editor etc. and also FixedHeader.</p>

<p>With the new version of fixed header I get issues with Chrome scrolling down on a page with multiple data tables. Some users can no longer scroll down because it has become really difficult to do this: Chrome starts "shaking" and you can't scroll using the mouse wheel. You have to force it by clicking on the scroll bar and pull that down. That occurs shortly before the fixed header of the table disappears and the next table below is being shown. There had been no issues with version 3.1.7.</p>

<p>This is from the console (yes, only a warning but it causes the issues when scrolling down):<br />
<img src="https://datatables.net/forums/uploads/editor/pl/dum900rm7je8.png" alt="" title="" /><br />
Please also see this screenshot showing the upper table's fixed header shortly before it should disappear giving way for the following data table below. That is when the problem for the user occurs.<br />
<img src="https://datatables.net/forums/uploads/editor/ni/lcse3ad592qh.png" alt="" title="" /></p>

<p>For the time being I have completely deactivated FixedHeader to avoid the issue. But I would like to turn it back on asap. Thanks for your help.</p>
]]>
        </description>
    </item>
    <item>
        <title>Fixed Header styles overrides my own header styles</title>
        <link>https://next.datatables.net/forums/discussion/72012/fixed-header-styles-overrides-my-own-header-styles</link>
        <pubDate>Fri, 11 Mar 2022 12:33:05 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>awariat</dc:creator>
        <guid isPermaLink="false">72012@/forums/discussions</guid>
        <description><![CDATA[<p>Hi all<br />
I removed sorting icons from my table and set the paddings:</p>

<pre><code>/*distable sorting icons in restock FBA table*/

#restockTable table.dataTable&gt;thead .sorting::before,
#restockTable table.dataTable&gt;thead .sorting_asc::before,
#restockTable table.dataTable&gt;thead .sorting_desc::before,
#restockTable table.dataTable&gt;thead .sorting_asc_disabled::before,
#restockTable table.dataTable&gt;thead .sorting_desc_disabled::before {
    right: 0;
    content: "";
}

#restockTable table.dataTable&gt;thead .sorting::after,
#restockTable table.dataTable&gt;thead .sorting_asc::after,
#restockTable table.dataTable&gt;thead .sorting_desc::after,
#restockTable table.dataTable&gt;thead .sorting_asc_disabled::after,
#restockTable table.dataTable&gt;thead .sorting_desc_disabled::after {
    right: 0;
    content: "";
}

#restockTable table.dataTable&gt;thead&gt;tr&gt;th:not(.sorting_disabled),
#restockTable table.dataTable&gt;thead&gt;tr&gt;td:not(.sorting_disabled) {
    padding-right: 4px;
    padding-left: 4px;
}

#restockTable table.dataTable&gt;thead&gt;tr&gt;th,
#restockTable table.dataTable&gt;thead&gt;tr&gt;td {
    padding-right: 4px;
    padding-left: 4px;
}
</code></pre>

<p>But when I use FIXED HEADER the styles are back<br />
What are the correct styles for fixed header?<br />
Kind regards<br />
Jack</p>
]]>
        </description>
    </item>
    <item>
        <title>Possible bug in destroy with FixedColumns</title>
        <link>https://next.datatables.net/forums/discussion/71499/possible-bug-in-destroy-with-fixedcolumns</link>
        <pubDate>Thu, 03 Feb 2022 15:05:17 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>timdiggins</dc:creator>
        <guid isPermaLink="false">71499@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>:</p>

<p>n/a (sorry quite tricky to create a simple test case from my use of framework code)</p>

<p><strong>Debugger code (debug.datatables.net)</strong>:</p>

<p><a rel="nofollow" href="https://debug.datatables.net/upugok">https://debug.datatables.net/upugok</a></p>

<p><strong>Error messages shown</strong>:</p>

<p>Uncaught TypeError: Cannot read properties of undefined (reading 'offsetWidth')<br />
    at FixedColumns._addStyles (jquery.dataTables.source.js:33:1)<br />
    at jquery.dataTables.source.js:33:1</p>

<p><strong>Description of problem</strong>:</p>

<p>using DataTables-1.11.4 and FixedColumns-4.0.1 (with bootstrap3 integrations).</p>

<p>When I do a <code>destroy</code> on a datatable with FixedColumns configured on it, I am getting an error. This doesn't happen if I downgrade back to FixedColumns-3.2.2</p>
]]>
        </description>
    </item>
    <item>
        <title>FixedHeader shows only if window is resized or if table is sorted by clickinf on a header title</title>
        <link>https://next.datatables.net/forums/discussion/71750/fixedheader-shows-only-if-window-is-resized-or-if-table-is-sorted-by-clickinf-on-a-header-title</link>
        <pubDate>Sat, 19 Feb 2022 12:54:34 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>m_tsatsaroni</dc:creator>
        <guid isPermaLink="false">71750@/forums/discussions</guid>
        <description><![CDATA[<p>I am new to datatables and i am trying to display Fixedheader.</p>

<p>When the table is first loaded, the FixedHeader<br />
is a no show. When the windows is resized or clicked on one of the tables' header to sort then it appears.</p>

<p>I tried so far after table draw():<br />
     columns.adjust()<br />
     fixedheader.adjust()</p>

<p>My test case is here:<br />
<a rel="nofollow" href="https://www.villas-mina.com/new2/index_test_datatables.html">https://www.villas-mina.com/new2/index_test_datatables.html</a></p>
]]>
        </description>
    </item>
    <item>
        <title>Datatable - Full window width</title>
        <link>https://next.datatables.net/forums/discussion/71582/datatable-full-window-width</link>
        <pubDate>Wed, 09 Feb 2022 12:55:26 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>Ludde</dc:creator>
        <guid isPermaLink="false">71582@/forums/discussions</guid>
        <description><![CDATA[<p>Hello All,</p>

<p>I need the help from you!. I would like to recreate a table. After I have done this, the datatable dose not take up full width of the window (see picture).</p>

<p>I use fixedheader and fixedcolumns, and it is due to these settings. But it is strange because it works first time I load the table. Maybe I do not destroy the previous table correct?</p>

<h1 data-anchor="This-is-how-I-destroy-the-old-table:"><a name="This-is-how-I-destroy-the-old-table:" rel="nofollow" href="#This-is-how-I-destroy-the-old-table:"></a>This is how I destroy the old table:</h1>

<p>if ($.fn.DataTable.isDataTable('#idTable')) {<br />
    $('#idTable').DataTable().destroy();<br />
}<br />
$('#idTable').empty();</p>

<h1 data-anchor="I-have-created-an-example-(http://live.datatables.net/zenogaze/1/edit)"><a name="I-have-created-an-example-(http://live.datatables.net/zenogaze/1/edit)" rel="nofollow" href="#I-have-created-an-example-(http://live.datatables.net/zenogaze/1/edit)"></a>I have created an example (<a rel="nofollow" href="http://live.datatables.net/zenogaze/1/edit)">http://live.datatables.net/zenogaze/1/edit)</a></h1>

<p>1) Start the example. Maximize the window<br />
2) Press table2<br />
3) Minimize the table<br />
4) =&gt; you got window scrollers and the extra space to the right of the datatable</p>

<p>What can I do to make this work? Destroy the table in another way?</p>

<p><img src="https://datatables.net/forums/uploads/editor/8d/vk8rq028r4cz.jpg" alt="" title="" /></p>
]]>
        </description>
    </item>
    <item>
        <title>FixedHeader with scrollX - the headers are not moving/updating</title>
        <link>https://next.datatables.net/forums/discussion/71577/fixedheader-with-scrollx-the-headers-are-not-moving-updating</link>
        <pubDate>Tue, 08 Feb 2022 21:05:11 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>frenzy1</dc:creator>
        <guid isPermaLink="false">71577@/forums/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p><strong>Link to test case</strong>: <a rel="nofollow" href="http://live.datatables.net/wiqelema/5/edit">http://live.datatables.net/wiqelema/5/edit</a><br />
<strong>Description of problem</strong>:<br />
When in small window/responsive mode and you can scrollX the table sideways - the fixed header is not moving/updating.</p>

<p>I have a similar situation where when I scroll sideways the fixed header will not move/update, but then if I scroll up/down it will fix the header in the position.</p>

<p>I have a rowspan=2 with multiple colspan columns.</p>

<p>Any idea on what to do to get it fixed ?</p>

<p>Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>Can we use FixedHeader functionality with ServerSide option?</title>
        <link>https://next.datatables.net/forums/discussion/71507/can-we-use-fixedheader-functionality-with-serverside-option</link>
        <pubDate>Thu, 03 Feb 2022 18:11:01 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>jaisink</dc:creator>
        <guid isPermaLink="false">71507@/forums/discussions</guid>
        <description><![CDATA[<p>Hi Guys</p>

<p>We are using SpringBoot Java application with DataTables and also ServerSide set to true. When tried to use the configuration option specified for the FixedHeader, it is completely ignored, no errors either. Any suggestions or any additional setup necessary to trigger the functionality?</p>

<p>Below is the JS code :</p>

<pre><code>    $(document).ready(function() {
        App.init();
        Dashboard.init();

        var matchingRepositoriesTable = $('#matchingRepositories').DataTable({
            ajax: '/subjectrepository/select/datatables/',
            serverSide: true,
            processing: true,
            deferLoading: 0,
            fixedHeader: {
                header: true,
                footer: true
            },
            order: [ ['12','desc'],['13','desc'] ],
            drawCallback: function (data, type, full, meta) {
                $('[data-toggle="tooltip"]').tooltip({ 
                    placement: 'right',
                    title: 'heyo',
                    container: 'body',
                    html: true 
                });
            },
            columns: [
                {
                    data: 'createDate',
                    searchable:false,
                    sortable:false,
                    orderable:false,
                    width: '5%',
</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>Align fixedHeader with table?</title>
        <link>https://next.datatables.net/forums/discussion/71439/align-fixedheader-with-table</link>
        <pubDate>Mon, 31 Jan 2022 00:25:45 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>pain19</dc:creator>
        <guid isPermaLink="false">71439@/forums/discussions</guid>
        <description><![CDATA[<p>I was finally able to get the fixedHeader code working for my app which uses tabs--each one having it's own table. I've only tested with (2) tabs out of the batch, but if it works correctly with (2) tabs it should be able to work with the rest.</p>

<p>Instead of defining fixedHeader on the table itself, I use the following initialization:<br />
<code>new $.fn.dataTable.FixedHeader(table1, {</code>
<code>header: true,</code>
<code>alwayCloneTop: true</code>
<code>});</code></p>

<p>The I track when the tab selection changes and based on which tab is selected, I do the enable/disable mechanism as seen in this code example I found elsewhere in the forum: <a rel="nofollow" href="https://jsfiddle.net/qamn26zp/14/">https://jsfiddle.net/qamn26zp/14/</a></p>

<p>This example is basically what I am doing. My only issue is that the fixedHeader is set slightly left of the table. I thought using adjust() would resolve but it doesn't. I thought headerOffset would help, but it does something different than what I hoped for.</p>

<p>Anyway, let me know if this should be handled in css or if I am just missing a property, etc. Thanks in advance!</p>
]]>
        </description>
    </item>
    <item>
        <title>fixedHeader stops working with Detail Rows</title>
        <link>https://next.datatables.net/forums/discussion/71378/fixedheader-stops-working-with-detail-rows</link>
        <pubDate>Tue, 25 Jan 2022 18:42:25 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>pain19</dc:creator>
        <guid isPermaLink="false">71378@/forums/discussions</guid>
        <description><![CDATA[<p>I just have a quick question. Not sure there's a real need for a test case.</p>

<p>I have turned on fixedHeader and it works just fine as long as I don't have too many detailed/child rows are not showing. I have functionality to expand all detail/child rows via a button (expands for the current page) or header row (expands all rows).</p>

<p>At any rate, let's say I have (100) rows and I expand each rows detail/child row. The fixedHeader works initially but if I scroll down far enough, the header eventually scrolls out of sight. But again, if all detail/child rows are collapsed, it doesn't seem to affect the header row. I tested with a few hundred rows and it stayed in place.</p>

<p>Just wondering if I missed a setting or not. I reviewed the examples, but none of them involved detail/child rows so I'm guessing it is not fully designed to work with detail/child rows.</p>

<p>Fyi, "freakin awesome stuff you guys have created! I love datatables and the customers using my app seem to love it to!</p>
]]>
        </description>
    </item>
    <item>
        <title>I have applied Fixed header and while onload the fixed header is not fixed on top</title>
        <link>https://next.datatables.net/forums/discussion/71284/i-have-applied-fixed-header-and-while-onload-the-fixed-header-is-not-fixed-on-top</link>
        <pubDate>Tue, 18 Jan 2022 11:59:52 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>KalyanSraj</dc:creator>
        <guid isPermaLink="false">71284@/forums/discussions</guid>
        <description><![CDATA[<p>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.</p>

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

<p>What would be the issue to block the fixed header onload?</p>
]]>
        </description>
    </item>
    <item>
        <title>Fixedheader - split screen</title>
        <link>https://next.datatables.net/forums/discussion/71094/fixedheader-split-screen</link>
        <pubDate>Thu, 30 Dec 2021 09:38:55 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>Ludde</dc:creator>
        <guid isPermaLink="false">71094@/forums/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p>I have done an example there I have split the screen in two. On the left side I got some "settings" and on the right side I got an datatable. I configure the datatable with fixedheader. When I scroll in the datatable window I do not get the fixedheader however when I scroll in the setting window it apperas.I would like to have the "main" scroller to the left to be able to scroll when one of the select is at the bottom.</p>

<p>Are there away to bind the datatable to the right side of the window?</p>

<p>I have done an example to demostare my problem.<br />
<a rel="nofollow" href="https://jsfiddle.net/un0bk61o/">https://jsfiddle.net/un0bk61o/</a></p>

<p>//L</p>
]]>
        </description>
    </item>
    <item>
        <title>Using Fixedheader, Fixedcolumn, ScrollX</title>
        <link>https://next.datatables.net/forums/discussion/70534/using-fixedheader-fixedcolumn-scrollx</link>
        <pubDate>Mon, 08 Nov 2021 09:32:50 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>Ludde</dc:creator>
        <guid isPermaLink="false">70534@/forums/discussions</guid>
        <description><![CDATA[<p>Dear All,</p>

<p>I need help from you! I need fixedheader, fixedcolumn and scrollx for my table. I have read that these does not work at the same time? However, I think they work good together apart from scrollX.</p>

<p>When I resize the window width (minimized), the table is not resize and the scollX is shown instead, but if I reload the page the table is resized and the scrollX is updated to correct value. I have tested to redraw the when I resized the window with no luck. Can I test something else?</p>

<p>I have done a jsfiddle that show the behaviour.<br />
<a rel="nofollow" href="https://jsfiddle.net/fjr230np/">https://jsfiddle.net/fjr230np/</a></p>

<p>Cheers<br />
Ludde</p>
]]>
        </description>
    </item>
    <item>
        <title>headerOffset no longer working after 3.2.0 upgrade</title>
        <link>https://next.datatables.net/forums/discussion/71019/headeroffset-no-longer-working-after-3-2-0-upgrade</link>
        <pubDate>Thu, 23 Dec 2021 17:37:01 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>James3</dc:creator>
        <guid isPermaLink="false">71019@/forums/discussions</guid>
        <description><![CDATA[<p>When I attempted to upgrade my fixed header resources from 3.1.9 to 3.2.0, my headerOffset value stopped working. Here's my config code:</p>

<pre><code>fixedHeader: {
    header: true,
    headerOffset: 55
}
</code></pre>

<p>CSS resource: <a rel="nofollow" href="https://cdn.datatables.net/v/bs5/dt-1.11.3/fh-3.2.0/datatables.min.css">https://cdn.datatables.net/v/bs5/dt-1.11.3/fh-3.2.0/datatables.min.css</a><br />
JS resource: <a rel="nofollow" href="https://cdn.datatables.net/v/bs5/dt-1.11.3/fh-3.2.0/datatables.min.js">https://cdn.datatables.net/v/bs5/dt-1.11.3/fh-3.2.0/datatables.min.js</a></p>

<p>All that is required to restore the header offset is to change the FixedHeader JS include from version from 3.2.0 back to 3.1.9. The CSS <em>can</em> remain at 3.2.0.</p>

<p>To be clear, the fixed-header  functionality IS working, it's simply ignoring my headerOffset value. Any suggestions?</p>
]]>
        </description>
    </item>
    <item>
        <title>Is FixedHeader not working?</title>
        <link>https://next.datatables.net/forums/discussion/70893/is-fixedheader-not-working</link>
        <pubDate>Thu, 09 Dec 2021 19:58:56 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>andreibostan</dc:creator>
        <guid isPermaLink="false">70893@/forums/discussions</guid>
        <description><![CDATA[<p>I tried implementing FixedHeader in an application but it doesn't do anything.</p>

<p>This is the part where I am setting it:</p>

<p>$('#table2').DataTable( {<br />
                    fixedColumns: {<br />
                        leftColumns: 1<br />
                    },<br />
                    fixedHeader: true,</p>

<p>I've included all the libraries as well, but nothing is happening:</p>

<p><a rel="nofollow" href="https://media.giphy.com/media/ooj008OoQxY4pJkN3z/giphy.gif">https://media.giphy.com/media/ooj008OoQxY4pJkN3z/giphy.gif</a></p>
]]>
        </description>
    </item>
    <item>
        <title>Update Documentation?</title>
        <link>https://next.datatables.net/forums/discussion/70847/update-documentation</link>
        <pubDate>Mon, 06 Dec 2021 18:31:27 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>lisarush</dc:creator>
        <guid isPermaLink="false">70847@/forums/discussions</guid>
        <description><![CDATA[<p>On the FixedHeader main document page, it says:<br />
<code>Please note that FixedHeader is not currently compatible with tables that have the scrolling features of DataTables enabled (scrollX / scrollY). Please refer to the compatibility table for full compatibility details.</code></p>

<p>However, I believe that is no longer a limitation, per the release notes for FixedHeader 2.3.0.</p>
]]>
        </description>
    </item>
    <item>
        <title>How to apply column filtering for only searchable="true" columns?</title>
        <link>https://next.datatables.net/forums/discussion/70671/how-to-apply-column-filtering-for-only-searchable-true-columns</link>
        <pubDate>Fri, 19 Nov 2021 07:28:24 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>salman_malyk</dc:creator>
        <guid isPermaLink="false">70671@/forums/discussions</guid>
        <description><![CDATA[<p>Hi, I've created serverside rending datatable. I've added the column filtering from <a rel="nofollow" href="https://datatables.net/extensions/fixedheader/examples/options/columnFiltering.html" title="https://datatables.net/extensions/fixedheader/examples/options/columnFiltering.html">this example</a>. It's adding inputs to all columns even which i've disabled searchable property. How can i restrict it to only apply filter on searchable=true.<br />
<img src="https://datatables.net/forums/uploads/editor/ll/3shwyn4kqnkd.png" alt="" title="" /></p>

<p>Thank You <img src="https://next.datatables.net/forums/resources/emoji/smile.png" title=":smile:" alt=":smile:" height="20" /></p>
]]>
        </description>
    </item>
    <item>
        <title>Strategy for using 'rowspan' and the FixedHeader extension?</title>
        <link>https://next.datatables.net/forums/discussion/70635/strategy-for-using-rowspan-and-the-fixedheader-extension</link>
        <pubDate>Mon, 15 Nov 2021 19:14:16 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>stephenyeargin</dc:creator>
        <guid isPermaLink="false">70635@/forums/discussions</guid>
        <description><![CDATA[<p><img src="https://datatables.net/forums/uploads/editor/tz/xrwk42iaw7ve.png" alt="" title="" /></p>

<p><strong>Link to test case</strong>: <a rel="nofollow" href="https://gist.github.com/stephenyeargin/b0a203f6598b958943b43e766b65908d">https://gist.github.com/stephenyeargin/b0a203f6598b958943b43e766b65908d</a></p>

<p>Curious if anyone has tackled this one before. I have a rather wide table with a lot of related columns. For usability, the columns are grouped under a heading. There is a request from the team to use FixedHeader, but it  appears the calculated  column widths get out of whack when the user scrolls. Doesn't happen if I remove the extra <code>rowspan</code>.</p>

<p>So far, my options appear to be:</p>

<ul>
<li>Don't use FixedHeader</li>
<li>Manually specify the column widths (breaks responsive design a bit)</li>
<li>Remove the <code>rowspan</code> headings entirely</li>
</ul>

<p>Can anyone think of another approach?</p>
]]>
        </description>
    </item>
    <item>
        <title>Fixed header creating multiple containers</title>
        <link>https://next.datatables.net/forums/discussion/70613/fixed-header-creating-multiple-containers</link>
        <pubDate>Sat, 13 Nov 2021 00:34:40 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>tdmohr</dc:creator>
        <guid isPermaLink="false">70613@/forums/discussions</guid>
        <description><![CDATA[<p>I'm using multiple different datatables across my application, they are all on different pages however we're using PJAX to give the experience of a single page app.</p>

<p>Each datatable uses the Fixed Header plugin, which seems to create new parent containers for each initialisation (see screenshot below).</p>

<p><img src="https://datatables.net/forums/uploads/editor/8a/qypyujuv6uke.png" alt="" title="" /></p>

<p>For the user, all headers (even for tables that no longer exist as PJAX clears the Datatables HTML on each "page load") will appear when the table is scrolled.</p>

<p>I've tried various combinations of using the fixedHeader.adjust() call to attempt to clear the phantom headers, (on initialisation for example), however it doesn't resolve the issue.</p>

<p>Unfortunately I'm not able to provide a test case at this time, however I thought it was worth a shot to ask anyway.</p>

<p>Appreciate any ideas.</p>
]]>
        </description>
    </item>
    <item>
        <title>Dynamic headeroffset for fixedheader</title>
        <link>https://next.datatables.net/forums/discussion/70524/dynamic-headeroffset-for-fixedheader</link>
        <pubDate>Sat, 06 Nov 2021 17:24:55 +0000</pubDate>
        <category>FixedHeader</category>
        <dc:creator>Ludde</dc:creator>
        <guid isPermaLink="false">70524@/forums/discussions</guid>
        <description><![CDATA[<p>Dear All,</p>

<p>I need some help from you.</p>

<p>I would like to have a table with fixed header. My html header will change height dependent on the window size. How can I make the headerOffset dynamic to follow the html header? Is it possible?</p>

<p>I have made an example that can be found here:<br />
<a rel="nofollow" href="https://jsfiddle.net/xeavcts2/">https://jsfiddle.net/xeavcts2/</a></p>

<p>Cheers Ludde</p>
]]>
        </description>
    </item>
   </channel>
</rss>
