Toolbar backgroun color

Hi

I have a View with 3 grids and I would like to have each of them with a distinct toolbar backcolor. How can I achieve this ?


Thanks

Clovis


3 Replies

RU Ramdhas  Ueikattan Syncfusion Team January 18, 2017 11:20 AM UTC

Hi Clovis, 

Thanks for contacting syncfusion supports. 


We have achieved your requirement by using ‘.e-toolbar’ selector class of Grid. Please find the code example 

[style code] 
<style> 
/*to customize toolbar background color for first grid in view*/ 
        #grid .e-toolbar{ 
            background-color:lightgreen; 
        } 
/*to customize toolbar background color for second grid in view*/ 
        #grid1 .e-toolbar{ 
            background-color:lightblue; 
        } 
/*to customize toolbar background color for third grid in view*/ 
        #grid2 .e-toolbar{ 
            background-color:lightgray; 
        } 
</style> 

  
In above code example  we have changed the toolbar background color  in three grids in view. 



Regards, 
Ramdhas U. 



CL Clovis January 18, 2017 06:14 PM UTC

Hi

Perfect, thank you very much.


Clovis



VA Venkatesh Ayothi Raman Syncfusion Team January 19, 2017 04:26 AM UTC

Hi Clovis, 

Thanks for the update. 
We are happy to hear that your requirement is achieved. 

Regards, 
Venkatesh Ayothiraman. 


Loader.
Up arrow icon