Skip to content
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

Support for complex headers #119

Closed
PaulVanSchayck opened this issue Nov 28, 2014 · 3 comments
Closed

Support for complex headers #119

PaulVanSchayck opened this issue Nov 28, 2014 · 3 comments

Comments

@PaulVanSchayck
Copy link

I would like to build a table with complex headers with colspans as described here:
http://www.datatables.net/examples/advanced_init/complex_header.html

Right now, YADCF does not seem to support more than one row in <thead>. Would it be an idea to use the _fnDetectHeader function provided by Datatables to build up the headers cells to use for filtering in the same way as the cells used for sorting are?

vedmack added a commit that referenced this issue Dec 19, 2014
rewrite the ColReorder for select / text filters #107
vedmack added a commit that referenced this issue Dec 19, 2014
rewrite the ColReorder for select / text filters #107
@vedmack
Copy link
Owner

vedmack commented Dec 19, 2014

added in 0.8.7.beta.5 , see in action http://yadcf-showcase.appspot.com/DOM_source.html and http://yadcf-showcase.appspot.com/ajax_mData_source.html , it works implicitly / out of the box so just replacegrab the latest version of yadcf and enjoy

@vedmack vedmack closed this as completed Dec 19, 2014
@PaulVanSchayck
Copy link
Author

Thank you very much! I most likely won't be able to test this untill after the new year.

@PaulVanSchayck
Copy link
Author

Just tested it. Works well.

There is a problem when columns are initially made hidden in the column setup. No big deal though, as It does work properly when columns are made hidden after initialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants