angular-ui/ui-grid
Ver no GitHubGrid not rendering until manual browser re-sizing
Open
#2.195 aberto em 21 de nov. de 2014
help wantedneeds: analysisworkaround
Métricas do repositório
- Stars
- (5.395 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
When first loading a page, the following text is displayed rather than the grid:

By resizing the browser a couple of pixels (horizontally or vertically), the grid refreshes to display properly:

Notes:
- The presence or absence of ui-selection does not appear to make a difference.
- The behavior is the same in Chrome and Firefox (couldn't test IE)
- Version 3.0.0-rc.16
Here is the grid invocation:
Here are the grid config settings:
$scope.gridResearchOptions = {
enableColumnResizing: true,
enableGridMenu: true,
enableRowHeaderSelection: true,
enableRowSelection: true,
enableSelectAll: true,
multiSelect: true,
modifierKeysToMultiSelect: false,
noUnselect: false,
resizable: true,
columnDefs: [
...
],
data: [ {
...
}
]
};