我正在查看the first demo on the row grouping page of the ag-grid documentation,拖放行为似乎不正确。
我可以从行组部分删除列,但我无法再将其添加回来。我在firefox和chrome上都试过这个。我在Mac上。
我在控制台中也看到以下警告:
ag-Grid: count not find callback onExpandClicked
(anonymous) @ ag-grid-enterprise.min.js:
ag-grid-enterprise.min.js:2 ag-Grid: count not find callback onSelectClicked
(anonymous) @ ag-grid-enterprise.min.js:2
ag-grid-enterprise.min.js:2 ag-Grid: count not find callback onFilterTextChanged
因此,看起来有些回调没有被注册,这阻止了拖放工作。
我还创建了plunkr here,这可能会让事情更容易验证。请注意,这个plunkr与上面链接的演示没有变化。
我在firefox和chrome上尝试过使用ag-grid 15.0.0和17.0.0版本。
那么,为什么拖放不起作用?
答案 0 :(得分:0)
看看plunkr,似乎可能会出现拼写错误和/或过时的配置演示。您" enableRowGroup :true"不是" rowGroup:true"。