angular-ui/ui-grid

Grid not rendering until manual browser re-sizing

已關閉

#2,195 建立於 2014年11月21日

 (29 則留言) (0 個反應) (0 位負責人)JavaScript (2,496 個分叉)batch import
help wantedneeds: analysisworkaround

倉庫指標

星標
 (5,395 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

When first loading a page, the following text is displayed rather than the grid: before

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

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:  [ {
            ...
            }
         ]
   };

貢獻者指南