Skip to content

Conversation

@Mathissou01
Copy link


Description

This pull request improves the Column Manager’s usability and flexibility by introducing new configuration options and enhanced behavior.

It allows developers to control where the Apply action is displayed, optionally restrict the column manager to display only column group titles, and improves the user experience by automatically closing the column manager after applying changes.

These improvements were driven by real-world usage in large Filament applications with a high number of columns (e.g. 80+ columns):

  • The Column Manager previously remained open after clicking Apply, which felt unintuitive and required extra interaction.
  • When many toggleable columns are present, displaying every individual column creates visual noise. Showing only column group titles provides a much clearer and more user-friendly experience.
  • In large column managers, especially on smaller screens, scrolling to reach the Apply button in the footer can be inconvenient. Allowing the button to be placed in the header improves accessibility and usability.

Visual changes

(No extra visual changes.)

N/A – changes are primarily behavioral and structural.

The columnManagerGroupsOnly() option significantly reduces the vertical height of the manager by hiding individual column toggles within groups.


Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.

Backward Compatibility

These changes are fully backward-compatible and do not affect existing column manager behavior unless explicitly enabled via the new methods.

- Add `columnManagerApplyActionPosition()` to control Apply button placement.
- Add `columnManagerGroupsOnly()` to hide individual columns in the manager.
- Auto-close the column manager dropdown on "Apply".
- Add documentation for these features.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant