Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
How to trim the display text after selecting an item?
posted

Hi All,

 

I have a webdropdown ( fixed width) in my page where the items text is too big. What I want to achieve is whenever the item is selected and its length is more than the webdropdown width then display text should be trimmed.

 

For example

 

Items in dropdown

 

Item1

Item2

Item-Item-Item-Item123455

 

so when I select the 3rd item. I need to show as Item-Item......, because I don't want to show the description in between to the user.

 

Is it possible?

 

Please find the attached snapshot

 

 

Thanks

-Sajin