Plugin Author
Meitar
(@meitar)
Strange, 0.9.7 doesn’t do anything with the DataTables defaults setting. What version were you updating from?
Also, what’s the situation now? Can you save a new defaults object, or is that feature unusable for you?
I updated from 0.9.6, I believe. I noticed the format of my table had changed as I’d previously deleted the TC<‘clear’> from the start of the dom attribute.
I made the update again and it looks ok.
Just worried about future updates, and wanted to let you know.
BTW, I couldn’t find the T or C dom attributes in the datatables documentation. But I figured what what they are doing by trial and error.
Not sure what the <‘clear’> is doing. I think it gives the .clear class to the enwrapping <div>
Actually hold off on this – I may have done something different than what I’d said. Investigating now.
There is a problem but it is different than what I’d said. I left the global dom object unchanged, but the database_dom attribute seems to have stopped working since 0.9.6.
[gdoc key=”https://docs.google.com/spreadsheets/d/1icubj2-v5imKo4OtV_WOGyYASmN1l-Bdh6PVYPwPJpE/edit#gid=120923037″ use_cache=”no” query=”SELECT B,C,D” datatables_order=”1, ‘desc'” datatables_dom=”lfrtip”]
yields
http://steeplechasers.org/membership/brag-corner/
The buttons above the search box should not be there.
(sorry about the misdirection — I decided some point to control this at the table level rather than globally)
Plugin Author
Meitar
(@meitar)
Ah, thanks for the clearer explanation. And, you’re right. Version 0.9.6.3 introduced a bug wherein setting a specific table’s HTML5 data-
attributes caused all subsequent tables to inherit those defaults. This was a mistake on my part and should be fixed in version 0.9.7.1, released today. Please update and let me know if that doesn’t fix the issues.
I couldn’t find the T or C dom attributes in the datatables documentation.
You might be looking in the wrong place; the T
and C
values belong to two DataTables extensions (TableTools and ColVis, respectively), and their documentation discusses their relevance to the dom
property.
Yes, this fixed the problem.
Thanks for the quick support.
And thanks for the pointers to TableTools and ColVis. I’m not quite sure how I would have figured that out without your direction.
Plugin Author
Meitar
(@meitar)
🙂 Glad it’s fixed, and thanks again for alerting me to the issue.