material-table-core / core

Datatable for React based on material-ui's table with additional features. Support us at https://opencollective.com/material-table-core
https://material-table-core.github.io
MIT License
296 stars 146 forks source link

(feature) Allow custom hide columns action #833

Closed EmilianoMorghen closed 7 months ago

EmilianoMorghen commented 9 months ago

Dear Team,

First and foremost, I want to express my heartfelt gratitude for the incredible work each of you has contributed. Over the past year, I've had the pleasure of utilizing this package, and I must say, I've thoroughly enjoyed it.

TL;DR I'm in need of overwriting the default 'hide column' action.

Description

Upon delving into how custom actions are rendered and handled, I've observed that they lack access to crucial data such as columns and event callbacks like onColumnsChanged or onSearchChanged. Providing access to this data would empower users to customize the behavior of default actions.

Impacted Areas in Application

List general components of the application that this PR will affect:

Additional Notes

There are multiple approaches to implementing the overwrite of default actions' behavior, and I am open to hearing your insights on the matter.

I am eager to tackle this task with your expert guidance and oversight, ensuring that we maintain the highest quality standards that you consistently uphold.