-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GridModel should have a 'hideGroupByCols' option #1369
Comments
So Petra found a very specifc and exciting option in agGrid: We are considering the following approach, that would make it the default behavior: But I now that might be too blunt, for existing grids that are relying on setting the initial grouped column to hidden, and using this behavior, to have only the currently grouped column hidden. Perhaps we should go ahead and add the option Don suggests, but making it do everything it needs to do would be a lot more work that what we have in the current PR. |
Currently, if the user hides a column, then groups and ungroups that field, not only does the column appear visible but it also remains "Available" and does not show as "Displayed" on the column chooser. |
@petradish - could you take a few minutes to update this ticket with the current status? Unclear from the history here what (if anything) PR #1715 changed w.r.t. auto-hiding of groupBy columns. |
sure thing! will check up on this ticket later today |
PR #1715 set the agOption For Another orthogonal issue/bug that was discovered relating to ag-grid's default behavior of making a column visible after it is ungrouped, is that our |
Bumping to v48 as this came up in client QA - change to groupBy causing outgoing groupBy col to show unexpectedly, including unsupported state within the column chooser |
We have another usage of suppressMakeColumnVisibleAfterUnGroup: true in the TODO app, to support hidden column grouping. Noting that here so that we clean it up if we do something better here. Its the ugliest option name I have ever seen in 30 years of working with GUI toolkits. |
Just hit this annoying bug again in a client app, FYI |
looking now! |
Upvoting this ticket since I just ran into the same issue of our Hoist Grid col-visibility state being out of sync with AG-Grid's and leading to some unexpected behavior. |
EXT has this, but ag-grid requires you to hide the columns manually after grouping. We can set hidden on our columns in the grid model, but would be nice if the groupBy method could do this for you automatically if you so choose.
The text was updated successfully, but these errors were encountered: