You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You posted some code to solve this problem here: #261
but it has stopped working since the upgrade. Now, when you scroll down and click the header checkbox in the cloned/sticky header, it tries to sort the table and breaks sorting on other columns.
It has something to do with the .trigger('change')
Nevermind, I figured it out and it's very simple. I was using .attr('checked','checked') and I should have been using .prop('checked', true) because I'm using jQuery 1.9.1.
If anyone is interested all you need to do is add a class to the checkbox in the header (e.g. "checkAll") and add a class to all the checkboxes in the table (e.g. "rowCheck"). Then do this:
Hi,
You posted some code to solve this problem here:
#261
but it has stopped working since the upgrade. Now, when you scroll down and click the header checkbox in the cloned/sticky header, it tries to sort the table and breaks sorting on other columns.
It has something to do with the .trigger('change')
called here:
but I haven't figured out what the problem is yet. It should not be sorting when the header checkbox is clicked.
The text was updated successfully, but these errors were encountered: