Change the background color of the TreeGrid header

I'm trying to follow examples of changing the background color of the TreeGrid header. Unfortunately I seem to be doing something wrong, possibly putting the css in the wrong place.


Does anyone have a working example of this I could go off of? My project uses scss files if that makes any difference.



3 Replies 1 reply marked as answer

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team August 30, 2021 05:10 PM UTC

Hi Zachary, 

Thanks for your interest in Syncfusion Components. 

Query#:- changing the background color of the TreeGrid header 
 
We can change the background color of the header using customAttributes property of the TreeGrid. Using this property, we can customize the appearance of the TreeGrid. 
 
Refer to the documentation Link:- 
 
Regards, 
Farveen sulthana T 


Marked as answer

ZA Zachary August 30, 2021 06:50 PM UTC

This worked! Thank you.



FS Farveen Sulthana Thameeztheen Basha Syncfusion Team August 31, 2021 08:08 AM UTC

 Hi Zachary,  

Thanks for your update. Please get back to us if you need any further assistance. We are happy to assist you. 

Regards, 
Farveen sulthana T 


Loader.
Up arrow icon