function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Terence VibanTerence Viban 

LWC Tree Grid hide default options

Hi everyone,

when woring with LWC Datatables, there is an attribute "hideDefaultActions" which I can set to hide the column actions wrap text and clip text. 

I am building a table using an LWC Tree Grid. I have checked and this attribute unfortunately does not exist.  Is there a workaround I could use to remove these default actions?

Or as a workaround, is it possible set a fix width for the columns and the wrap the text in the header?

User-added image

Any help or suggestions is much appreciated.

Thank You
AshwiniAshwini (Salesforce Developers) 
Hi Terence,
Try to wrap the Tree Grid in an extra div and apply CSS styles to that div.
You can refer below similar stackexchange link which might help you in resolving the issue.