We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Toolbar backgroun color

Thread ID:

Created:

Updated:

Platform:

Replies:

128366 Jan 17,2017 07:57 AM Jan 18,2017 11:26 PM ASP.NET Core 3
loading
Tags: Grid
Clovis
Asked On January 17, 2017 07:57 AM

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


Ramdhas  Ueikattan [Syncfusion]
Replied On January 18, 2017 06:20 AM

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. 


Clovis
Replied On January 18, 2017 01:14 PM

Hi

Perfect, thank you very much.


Clovis


Venkatesh Ayothi Raman [Syncfusion]
Replied On January 18, 2017 11:26 PM

Hi Clovis, 

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

Regards, 
Venkatesh Ayothiraman. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;