Reputation: 28757
I am looking at the first demo on the row grouping page of the ag-grid documentation and the drag and drop behavior does not seem to be correct.
I am able to remove columns from the Row Groups section, but I cannot add them back again. I have tried this both on firefox and chrome. I am on a mac.
I also see the following warnings in my console:
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
So, it looks like some callbacks are not being registered, and this is preventing drag and drop to work.
I also created a plunkr here, which may make things easier to verify. Please not that this plunkr is unchanged from the demo linked to above.
I have tried with ag-grid versions 15.0.0 and 17.0.0 on both firefox and chrome.
So, why is drag and drop not working?
Upvotes: 1
Views: 2433
Reputation: 391
Looking at the plunkr, it seems like there might be a typo and/or an outdated config demo. You "enableRowGroup:true" not "rowGroup:true".
Upvotes: 2