DataTables / Responsive

Responsive extension for DataTables, providing support for complex tables on all device screen sizes
Other
148 stars 87 forks source link

table.responsive.rebuild() IE8 issue #47

Closed SHRIVES23 closed 11 months ago

SHRIVES23 commented 9 years ago

I have checkboxes toggling certain columns on and off in a responsive datatable. Anytime I call table.responsive.rebuild() in IE8 it breaks the child rows from being allowed to be clicked in IE8. On page load they work fine, not until the table.responsive.rebuild is called does it break child rows from showing on click in IE8...

var checkboxes = function () { $('input[name="Checkboxes"]').click(function () { var table = $("#searchResults").DataTable(); var attr = $(this).attr("data-header");

        if ($(this).is(":checked")) {
            $(table.columns('.' + attr).header()).removeClass('never');
        }
        else {
            $(table.columns('.' + attr).header()).addClass('never');
        };

        table.responsive.rebuild();
        table.responsive.recalc();
    });
}
DataTables commented 9 years ago

Can you link to a page showing the issue so it can be debugged please.

SHRIVES23 commented 9 years ago

JSFiddle is having an IE8 issue...here's the link with code...

https://jsfiddle.net/4jd140xc/

DataTables commented 9 years ago

Thanks - it will be a little while (a few weeks probably) before I get a chance to set up an individual page to debug IE8. I'll post back here once I have had a chance to do so.

AllanJard commented 11 months ago

IE8 no longer supported - closing.