-
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
Date range filter not working with function as data #262
Comments
please provide a minimal jsbin that reproduces the issue to speed up the fix. |
I'm not certain if this is the proper way to create the jsbin, but this should be all the code needed: |
you can use a static file to feed the ajax source, just like I did in the showcase see second table, you can get the sources of the showcase from its github repo . Or you can also provide a link to your webapp |
Thanks for the hint. I've tweaked the jsbin to work with AJAX: |
fixed in 0.8.9.beta.30 , see jsbin sample |
I'm trying to use the range_date filter with a function in either the columns.render property or the columns.data property of the DataTable. However, yadcf does not seem to work with either one. This seems related to issue #95 but the script does not even reach the changed code.
Using a function in the columns.render property gives incorrect filter results as yadcf uses the _aData value rather than the _aFilterData value:
Using a function in the columns.data property throws an error "dot_refs.split is not a function":
The text was updated successfully, but these errors were encountered: