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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ComboBox Height

Thread ID:





150238 Dec 27,2019 12:22 PM UTC Dec 31,2019 04:49 AM UTC Angular - EJ 2 3
Tags: ComboBox
Benjamim Goulart Bessa
Asked On December 27, 2019 12:22 PM UTC


What is the correct way to change the height of the CombBox, or any other input from you? I'm working with Angular Material and Syncfusion controls as well, I'm trying to making the controls look similar: dimensions and cores. Theme Studio didn't help me with this task, can you help me?

Thank you

Berly Christopher [Syncfusion]
Replied On December 30, 2019 12:40 PM UTC

Hi Benjamim, 
Greetings from Syncfusion support.  
We have not provided the support for set the height to the ComboBox component directly. If you want to set the height to the component, we suggest you to override the CSS styles to the wrapper of the component as per the application need. Please refer the below code example. 
<ejs-combobox id='games' #local [dataSource]='sportsData' [autofill]='true' [fields]='localFields' [placeholder]='localWaterMark' 
                    [popupHeight]='height' cssClass="customClass"></ejs-combobox> 
    height: 50px; 
Please find the sample from the below link. 
To know more about our API, methods and events please refer the below API documentation link. 
Berly B.C

Benjamim Goulart Bessa
Replied On December 30, 2019 05:23 PM UTC

Berly, thank you for your reply.

There is some document with avaiable css classes for customization? 

Sevvandhi Nagulan [Syncfusion]
Replied On December 31, 2019 04:49 AM UTC

Hi Benjamim 
The cssClass property is used to add the custom class to the wrapper of component and popup element. We have add the class name with your own. So that, we can customize styles using the class name. 
To know more about our API, methods and events please refer the below API documentation link.  
Sevvandhi N  


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon