-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter box in specified container disappears when hiding another column #271
Comments
Happy New Year! Was wondering if there's any chance you could look at this, or if there's anything else I can do to help? Thankyou! |
Hi, |
Hi Daniel, Unfortunately the jsbin referenced above doesn't work ... the fixed col's filter box still disappears and still won't return when I hide/show a different column ... Let me know if I can help test or anything. Thanks, |
Should work now, grab the lateset version 0.8.9.beta.37. |
Hi Daniel, Thanks so much for your work on this. Unfortunately it's still not working. The jsbin works OK, but since I am building the table from javascript, I can't assign the class to the appropriate table header until after DataTables has cerated the table and then cloned it for the Fixed Column. This is how I can get a YADFC filter box in the first column, which is fixed, when the table data source is javascript (unfortunately DataTables just assigns the class, not an id, to the cloned table, so first we have to find it and give it an id so we can add the span to it that YADFC will use):
Now I added a line as in your latest jsbin :
Unfortunately same result; the filter box in the fixed column disappears when you hide another column. Thanks
|
Hello,
Unfortunately the fix to colVis + stateSave leads to broken filters #265 hasn't addressed a related issue.
When you use fixedColumns extension, DataTables makes a clone of the first column and displays it over the top of the original table.
You can use yadcf's 'filter_container_id' option to get around this, so long as you intervene and assign an ID to the cloned table's
<th>
. This works nicely.But if you then use colVis to hide other columns, the Filter Box for the fixed column disappears, and does not come back when you unhide the other column.
Refreshing the page makes the Filter Box appear again.
Please see this example
Thank you!
The text was updated successfully, but these errors were encountered: