grid refresh events
Not sure where else to look for the answer to this. I can't for the life of me figure out how to get an event for when the grid is done rendering. Is there some way to do this? I am trying to apply some jquery stuff on elements inside the grid, but alas dont know when they are ready.
In theory the "onRegisterApi" callback will do this, there is also now a renderingComplete event from the core api (http://ui-grid.info/docs/#/api/ui.grid.core.api:PublicApi). Both of these are triggered at an identical time.
In my own code, I still have a nagging concern that this isn't actually rendering complete, as sometimes the Api doesn't include everything I thought it might. I haven't had time to look into this as yet, but should do so.
I believe this is now resolved, closing.
This issue is not resolved. rowsRendered and renderingComplete are firing before the row elements are available in the DOM. Can this be reopened?
Here's a test case (check console output):
http://jsfiddle.net/xaw6k6m0/
+1
+1 This is always a hard problem ! It leads to some crash on my production App, probably on slow computers. Because some filtering has to be made after Grid is rendered !
A not very good alternative I use now because of this issue, is $watch the actual HTML within the grid, look for '.ui-grid-row' elements, and once I find them I remove the $watch. Very consuming but I couldn't get anything else to work.