angular-ui/ui-grid

Re initialize grid manually with fresh set of settings

已關閉

#4,459 建立於 2015年10月2日

 (5 則留言) (0 個反應) (0 位負責人)JavaScript (2,496 個分叉)batch import
help wantedseverity: performancetype: enhancement

倉庫指標

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

描述

I have a scenario when one grid could be replaced with another one with completely new set of data/features. However, I can't see a way to destroy existing grid and initialize a new one in its place. I saw couple issues when people were trying to init gridOptions after an async event and they could not. I haven't seen a solution to this though. It seems relevant to the question I'm asking, so I just put it out there. It also seems inconvenient that features can only be declared via a directive. There is no way to enable a certain feature via javascript.

Any help is appreciated.

貢獻者指南