-
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
column_data_type html doesn't fallback to text #422
Comments
Related to issue #96, as the |
please provide a jsfiddle test page so I check / test it |
Ok
See https://api.jquery.com/selector/ for the deprication notice. i found around 90 usages of |
fixed, here is a working jsfildde |
Thanks a lot! |
When
column_data_type
is set to'html'
, and (some) cells do not contain sub-html-elements, the contents is discarded. This is due to the$(..)
on line https://github.com/vedmack/yadcf/blob/master/src/jquery.dataTables.yadcf.js#L2288. The$(..)
returns an empty string when a plain text input is given.Suggested fix: change line https://github.com/KolibriSolutions/yadcf/blob/master/src/jquery.dataTables.yadcf.js#L2332, to take the originall cell content instead of
col_inner_elements
The text was updated successfully, but these errors were encountered: