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
Cannot read property 'style' of undefined on Detail Rows #1201
Comments
Are you using some other extensions of dataTable like pagination? I think I encountered this before and fixed it by removing some extensions. |
Is the number of columns changing? I'm having the same problem, but it seems like it only occurs when the number of columns changes. For some reason, dataTables is keeping remnants of the number of columns from the previous iteration, and not destroying the previous table. I do have destroy set to true. |
Sorry for late response. In my opinion, this is indeed related to the number of columns. Make sure you have the same number of |
The issue for me was that remnants of the columns hang around, so I had to destroy those remnants:
I saved the table node, destroyed it completely, then recreated it and that resolved my issues. |
my problem is still exists. so i think im not going to use this feature. hehe Thanks for the response. |
put and use like this `function format(d) { "" + "" + "" + "" + "" + "" + "" + "" + //"" + "";
} `
|
thanks @gordett. im not using datatables anymore. I'm build my own table component with vuejs thanks for your reply |
Hi, I have the issue of using jquery datatable in angular.The issue is my th and td both are from API but it works properly for first time and second time its shows correct data but the filter and search will work for previous data only. |
use tabledestroy if ( $.fn.DataTable.isDataTable('#mytable2') ) |
Summary of problem or feature request
I have a details row with datatables. Details row is working properly, but when i go to the other page the error comes up.
Code snippet of problem
Here my HTML
My JS
Note
If i stay in one page and access the datatables, everything works just fine. But when i going to the other page, this error comes up
When I delete this
the error has gone, but my table doesnt have child row / detail row. Please help me Arjay
Thanks for wonderfull datatables.
System details
The text was updated successfully, but these errors were encountered: