-
Notifications
You must be signed in to change notification settings - Fork 490
Cannot reinitialise datatable #250
Comments
I have the same issue, in similar situation. For the first time DataTable work fine, but another tables do not work correctly. When I explored requests, I noticed the next situation: while one table is rendering, options from previos opened table are used. |
I did some changes to the code and my problem changes a little(The alert didn't show, but the table disappeared). The problem happens if I add the scroll plugins to the tables. Explaining all the work, I have a websocket connection that update my tables if there is a change in a row data, when the websocket get the message of the change, the code do the work and splice and push the data to the corresponding table, and I have to use $scope.$apply() to see the visual update, and after using $apply the table disappear from the view. |
Hi GiankOtarola, maybe your problem is similar to the issue 262, the part when the table disappear from the view |
it is because the data table is trying to reinitialize. when you are having multiple data tables in different tabs, don't call the methods to fetch data. just change only the tab. it will fix the issue. |
I have the same error can any one help me? |
Closing as issue is too old and the version is no longer maintained. |
I have a problem with data tables. I have 5 tables in differents tabs but with the same options and I use ng-repeat for show the information. I get the data with http request to the api.
Ex:
When I update a data from a table, one of the others tables have to update, because the data have to go there. But when finish to splice and push to other $scope variable(add the data to the other table) I have this error: Cannot reinitialise DataTable.
Can anyone help me?
The text was updated successfully, but these errors were encountered: