carbon-design-system / ibm-products

A Carbon-powered React component library for IBM Products
https://carbon-for-ibm-products.netlify.app/
Apache License 2.0
83 stars 116 forks source link

[Feature Request]: Implement "Reset to default" button in Datagrid's CustomizeColumns hook #5016

Open andygellaiibm opened 2 weeks ago

andygellaiibm commented 2 weeks ago

The problem

The Datagrid ColumnCustomization documentation (at this link) states:

"There is a reset to default button on the modal. It will use the options.columns as the default. If there are columns should be hidden by default, denote them with property: isVisible: false (undefined will be treated as true)."

As it turns out, the "reset to default" button actually has not yet been implemented. This makes it difficult for the user to reset back to the default columns on the Datagrid, especially if there is a large number of columns.

The solution

Implement the optional "reset to default" button functionality somewhere on the existing Customize Columns tearsheet.

Design link

This concerns the existing Column Customization tearsheet, as seen at this link.

Links to other materials

No response

Owner/main maintainer(s)

Andy Gellai

Second/backup maintainer(s)

No response

Product/offering

No response

Business priority

None

Code of Conduct