freshworks / crayons

🖍️ Crayons - A UI Kit comprising of web components for building Freshworks Apps!
https://crayons.freshworks.com
219 stars 61 forks source link

[Enhancement] - Ability to modify CSS or (change height or width) of fw-data-table of FwPlatformTable #878

Closed harshith-venkatesh-freshworks closed 1 year ago

harshith-venkatesh-freshworks commented 1 year ago

Description of the enhancement: Currently FwPlatformTable has a toolbar set that could be used to search and customise the columns and fw-data-table. We have a request to display the table with horizontal scrollbar. Since fw-data-table is the shadow element present in FwPlatformTable. We are currently unable to modify the height of the fw-data-table to meet the expectations. We have tried different css ways to modify the FwPlatformTable to ensure we get the horizontal scrollbar.

Screenshot 2023-07-06 at 3 48 38 PM

FwPlatformTable is imported from @freshworks/crayons-custom-objects/react

Describe the solution you'd like We request COE team to add attributes in the Fwplatform table that would allow users to modify the css/ height or width of the fw-data-table

harshith-venkatesh-freshworks commented 1 year ago

Thanks @arvindanta @Vignesh-Manogar-E3433 for guiding me and helping me in adding the enhancements :)