carbon-design-system / carbon-addons-iot-react

A collection of React components shared between IBM Maximo Asset Monitor (Watson IoT), IBM Maximo Visual Inspection, and Graphite products.
https://carbon-design-system.github.io/carbon-addons-iot-react/
Apache License 2.0
96 stars 78 forks source link

feat(table): enable percentage-based column width for the table header #3831

Closed abpaul1993 closed 1 year ago

abpaul1993 commented 1 year ago

Closes # https://jsw.ibm.com/browse/GRAPHITE-66562

Summary [PAL][Table] When the enablePercentageColumnWidth property is set to true and column widths are not provided, the system will automatically calculate the column widths based on the total number of columns, distributing them as a percentage of the total width. And After that if user start Resizing the Column it will get reset to default column width 150px.

Change List (commits, features, bugs, etc)

Acceptance Test (how to verify the PR)

Regression Test (how to make sure this PR doesn't break old functionality)

Things to look for during review

netlify[bot] commented 1 year ago

Deploy Preview for carbon-addons-iot-react ready!

Name Link
Latest commit 1ee68a43e090f272f47c4e2c321be2cf250dc29a
Latest deploy log https://app.netlify.com/sites/carbon-addons-iot-react/deploys/652f894f4b0c7300086e35b3
Deploy Preview https://deploy-preview-3831--carbon-addons-iot-react.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.