I have a grid that when I load the page sometimes it doesn't render correctly. It's annoying and i'm trying a solution to force it to render correctly.
Everything it's fine with the data on it, but sometimes it doesn't render correctly.
This is just when I load the grid for the first time, because after that it renders correctly.
Here is the grid with the render correct:
and here is the render error that it gives me sometimes when I first load the grid.
I have tried all this fixes but none work:
grid.getView().refresh();
---
grid.columns[2].setVisible(false);
grid.columns[2].setVisible(true);
---
grid.getStore().filterBy(function() { return true; });
After I click on the left grid, it applies a filter to the right grid and if the render was not ok, it becomes correct. So I believe it's a render problem.
I'm asking this question as a last resort. Does anyone have any suggestions?
I'm using ExtJS 4.