-
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
If html5 data- attributes set (data-filter etc) on td's, yadcf returns 'undefined' #106
Comments
Sorting issues again ? :) haven't tried those, will see whats wrong. |
Please use this jsbin http://jsbin.com/bigigo/2/ to demonstrate your issue (it uses latest daatatbles and yadcf versions) |
Here you go - see column 0 html / output: I get the same results with data-search, data-order, and data-sort in the Thanks for investigating!! Michelle On Sat, Nov 15, 2014 at 8:51 AM, Daniel notifications@github.com wrote:
|
What would you expect to populate the select box, the value located in data-filter attribute or the content of the td itself (the visible string) ? eventually I guess I'll make it configurable, just pondering what I should set as a default behavior? |
I think the data-filter attribute would populate the select...? I'm But that's just me. I'm open to whichever you choose to implement! :) On Sat, Nov 15, 2014 at 3:31 PM, Daniel notifications@github.com wrote:
Michelle McGinnis |
Added in 0.8.6
b.t.w the moment you use the data-filter / data-search , datatables relies only on them to do the filteting so displayed values cannot be used for the filtering |
Not sure it's related yet but I currently get a "It seems you have forgot to define html5_data attribute for column x" error message when any field/row in my serverside setup and ajax/JSON contains "null" as value. I guess this update was the one adding that error message to the system, apologies if wrong as I'm pretty new to all of this. related: #149 |
If I set data-filter or data-sort attributes in order to control sorting per this article, YADCF stops working and returns 'undefined' when using 'select' dropdowns: http://www.datatables.net/examples/advanced_init/html5-data-attributes.html
I'm trying to sort a firstname-lastname column by last name, by inserting data-filter in the 's. I tried all four (data-filter, data-search, data-order, data-sort) and they all give the same result.
Any way yacdf could support these? Thanks so much!
The text was updated successfully, but these errors were encountered: