Dropdown button color

Hi,

We are using button with bootstrap css "Primary" color

When we are trying to set class "btn-primary" on DropDownButton, the layout of the button stay gray.

Button color change with Edge but not with Chrome



1 Reply

SN Sridhar N Syncfusion Team July 12, 2018 09:31 AM UTC

 
Hi Tommy,  
  
Thank you for contacting Syncfusion support.  
  
We suspect that you are trying to apply primary color using bootstrap CSS class in DropDownButton. We have provided the support to apply bootstrap like primary color using ‘e-primary’ class in Syncfusion EJ2 bootstrap theme. In the below sample, we have achieved your requirement by using ‘e-primary’ class in ‘cssClass’ property.  
  
  
Could you please check the above sample and get back to us if you need any further assistance on this?   
  
Regards,  
Sridhar N 
 


Loader.
Up arrow icon