-
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
forgot to define html5_data attribute column x error #149
Comments
Hi, If you'll have any similar issues with a column that is not set to |
Hi, I think the problem is in the function parseTableColumn line number 1487. if (typeof col_inner_data === 'object') {
if (columnObj.html5_data !== undefined) {
col_inner_data = col_inner_data['@' + columnObj.html5_data];
} else {
alert('Looks like you have forgot to define the html5_data attribute for the ' + columnObj.column_number + ' column');
return;
}
} if the Field Value |
I just experienced the same behavior @charliechihuahua observed and was able to solve it by using their solution with version 0.9.4.beta.35. Do you see a reason a drawback in this solution, @vedmack ? I could open a PR if you like. :) |
@SoerenWeber , yes that would be great, make sure to apply the pr to the src version |
committed the fix in 0.9.4.beta.36 |
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 ajax/JSON returns null" as value. Any logic or suggestion to this, tested 0.8.6 and latest beta + latest datatables version.
Some related columns simply defined by -> "data": "6", "visible": false, "searchable": false and yadcf { column_number: 6, filter_type: "autocomplete" }
The text was updated successfully, but these errors were encountered: