-
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
Position in second row thead #297
Comments
provide a minimal sample on jsbin and I'll try to see what can be done |
Sorry, vedmack. I made the jsbin and was working perfectly there. Now everything is working! Thanks for this great plugin. |
Another reason to provide a test case along with the Q` |
Hi again, Vedmack. In this example (https://jsbin.com/fahehihale/edit?html,js,output) the "orderCellsTop: true" is enabled and the first row of thead is orderable (can click to order asc or desc) along with filter inputs (second row is blank). If I set to false in orderCellsTop, everything shows perfectly, but, the orderable click is in second row instead of first row. So I've just set this line code: filter_selector_string = table_selector + ' ' + filters_position + ' tr:eq(' + $(unique_th[column_position]).parent().index() + ') th:eq(' + $(unique_th[column_position]).index() + ')'; to filter_selector_string = table_selector + ' ' + filters_position + ' tr:eq(' + 1 + ') th:eq(' + $(unique_th[column_position]).index() + ')'; And now works first row orderable click and second row filters. I know this is horrible solution, but a quick one to me. Thanks again. |
fixed in 0.9.0.beta.14 see sample usage is via global property filters_tr_index |
Thanks, vedmack! 👍 |
Hi!
I didn't find a way (without hard coding) to put filters in second row (tr) of thead.
There is a way to this in options?
Example:
The text was updated successfully, but these errors were encountered: