-
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
Range Filter with Datatable Reorder #267
Comments
Incase you didn't know, all filtering is server side. |
Hi, function rangeNumberSliderChange(table_selector_jq_friendly, event, ui) {
// These three line below allow the to use the ColReorder #, instead of the original column_number
|
Correction, the code should be |
Please provide a link to a jsbin/jsfiddle with the issue, otherwise I wont be able to reproduce/debug it |
I'll try and get this one in the next few days |
I started to strip out everything from my JSP file, but I've looked at jsbin/jsfiddle and don't know how to provide the information you need, since it requires server side access and a database connection. If I hardcode the data into the HTML, there is no issues. Any suggestions? |
create a jsbin with range filters with reorder ability and that it, something simple (2 rows are enough) |
If I create a simple HTML file with a few rows with reorder ability and a range filter, there is no issue. The issue only happens when we do a server side call because the parameter information is not stored in the correct mDataProp, and bSearch variables. If you look at the "hack" fix above to function rangeNumberSliderChange(), I hope you can see that the original "Column Orders" are used instead of the "Reordered Columns". Thanks, |
will try to take a look at it this week... |
Without a link to a working test case I wont be able to help. |
Hi,
I've read "Adding support for ColReorder to remaining filter_types #138" but for me it doesn't work with any range filters. I am using version 0.8.9.beta.26. The Select and Text filters work without any issues only the ranges ones don't. It basically continues to put the filter information in the original mDataProp, and bSearch parameters instead of the reorder parameters.
Also, using DataTable 1.10.10, jQuery v2.1.3, jQuery UI v1.11.4 and Bootstrap Bootstrap v3.3.4.
Let me know, if you need anything else.
Edward
The text was updated successfully, but these errors were encountered: