You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
I have a dropdown where you can select an user as a filter for my datatable. When you select "All users" I want to show the column "user" in the datatable but when you selected an specific user that column is not relevant.
I tried updating the options before and after my $scope.dtInstance.changeData() call. But I allways get these errors:
TypeError: Cannot read property 'mData' of undefined
at HTMLTableCellElement. (jquery.dataTables.min.js:88)
TypeError: Cannot read property 'parentNode' of null
at jquery.dataTables.min.js:126
I use the promise way of loading data.
The text was updated successfully, but these errors were encountered:
I now tried it with .notVisible() in stead of not adding the column. This gives no errors but nothing happens and the table gets cleared. I have to call changeData twice now to see it again.
I have a dropdown where you can select an user as a filter for my datatable. When you select "All users" I want to show the column "user" in the datatable but when you selected an specific user that column is not relevant.
I tried updating the options before and after my $scope.dtInstance.changeData() call. But I allways get these errors:
TypeError: Cannot read property 'mData' of undefined
at HTMLTableCellElement. (jquery.dataTables.min.js:88)
TypeError: Cannot read property 'parentNode' of null
at jquery.dataTables.min.js:126
I use the promise way of loading data.
The text was updated successfully, but these errors were encountered: