-
Notifications
You must be signed in to change notification settings - Fork 142
Data table doesnt load the data sometimes #271
Comments
Having a similar issue with a pretty updated fork, we mitigate it currently by either forcing digest's that aren't happening or re-instantiating the table (a lot of options-specific-logic exists only in compile, constructor, similar call-once functions - and there seems to be at least 6 or so missing $scope.$watch'es in this main table implementation for data at different levels depending on using paging, or other items) That being said, we still haven't ironed this issue out, but it only happens >5% of the time with no known specific reproduction steps and we plan to fix that with a logic-flow refactor. |
@jonshaffer Hi Jon, |
We've had to add scope watches to a lot of places and take code out of constructors to get this data table to work in a SPA search form. It's a little much to describe here, but basically most components in the table in this version have their logic executed once in constructors. You could try one of these:
Would love an update, or more info about what specifically you're seeing |
I would like to try rendering the table by a render function. Is there anything like that? |
I was having issues with the table not loading and using your fork fixed it - thanks jonshaffer |
My implementation of data table about 25% of the time doesnt load the data, although further analysis showed the function to load the data was called successfully and data were there in $scope.data. Also the loading message did not show at all indicating there was some isssue initiating the loading.
Does any one know what could be the issue?
The text was updated successfully, but these errors were encountered: