无法在 ag-grid 工具栏中拖放列
Cannot drag and drop columns in ag-grid toolbar
我正在查看 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
那么,为什么拖放不起作用?
查看 plunkr,似乎有错字 and/or 一个过时的配置演示。你“enableRowGroup:true”不是"rowGroup:true".
我正在查看 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那么,为什么拖放不起作用?
查看 plunkr,似乎有错字 and/or 一个过时的配置演示。你“enableRowGroup:true”不是"rowGroup:true".