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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hi. How can I have chips of equal width?

Thread ID:

Created:

Updated:

Platform:

Replies:

150882 Jan 22,2020 11:32 PM UTC Jan 23,2020 06:26 PM UTC Blazor 3
loading
Tags: Chips
ebi torabi
Asked On January 22, 2020 11:32 PM UTC

Hi. How can I have chips of equal width?

Shameer Ali Baig Sulaiman Ali Baig [Syncfusion]
Replied On January 23, 2020 05:39 AM UTC

Hi Ebi, 
 
Thanks for contacting Syncfusion support. 
 
In EJ2 Chips control, we have provided cssClass property. For this requirement, you can add the custom class for Chips control by using this property. Based on this custom class, you can add the styles for chips. Refer the below code block. 
 
<EjsChipList CssClass="custom"> 
    <ChipCollection> 
        <ChipListChip Text="Chai"></ChipListChip> 
        <ChipListChip Text="Chang"></ChipListChip> 
        <ChipListChip Text="Aniseed Syrup"></ChipListChip> 
        <ChipListChip Text="Ikura"></ChipListChip> 
    </ChipCollection> 
</EjsChipList> 
 
<style> 
    .custom.e-chip { 
        width: 250px; 
    } 
</style> 
   
We have prepared sample for your convenience. Kindly refer to the below link for the sample. 
 
 
Please let us know if you need any assistance. 
 
Regards, 
Shameer Ali Baig S. 


ebi torabi
Replied On January 23, 2020 03:05 PM UTC

Hi Shameer Ali Baig S.. Thank you very much.
It worked very well.

Shameer Ali Baig Sulaiman Ali Baig [Syncfusion]
Replied On January 23, 2020 06:26 PM UTC

Hi Ebi, 
 
We are happy that the reported problem at your end is resolved. Please, let us know if you need any assistance. We will be happy to assist you. 
 
Regards, 
Shameer Ali Baig S. 


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.

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