-
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
Error when using orthogonal data and text_data_delimiter (support columns.data.filter) #552
Comments
Hi You can init the |
True. But I would like to have a different property to be used for the display value and a different property for the filter value. This syntax is supported by datatables, but errors with yadcf, e.g.
|
@tanyona It doesn't work like this (tested in you example page without yadcf) |
Here's an example - https://jsfiddle.net/7k9zmsLo/ It doesn't use the yadcf filter. The datatables search filters according to the "nameFilter" property of the data. |
@tanyona please post the relevant docs of this feature from datatables |
https://datatables.net/reference/option/columns.data. The object type/section. |
fix for #552 - added support for support columns.data.filter, see https://datatables.net/reference/option/columns.data
fixed in 0.9.4.beta.18 (located in src folder) |
There's an error if you use an ajax source and specify an object for the data attribute as per the datatables orthogonal data documentation and use the text_data_delimiter delimiter as well. I believe the error in the console is
TypeError: data[j]._aData[column_number_filter] is undefined
.Here's a jsfiddle with an indication of the problem. https://jsfiddle.net/y2ghwpbs/1/
The text was updated successfully, but these errors were encountered: