I'm attempting to add ellipsis to an item created by ExtJS. My goal is to only modify this item without adding any additional CSS files.
After researching, I discovered there is a "style" parameter that accepts CSS styles and attempted the following:
style: {
'overflow: hidden; text-overflow: ellipsis;'
},
Unfortunately, this resulted in a compilation error.
However, I did find that the following code works:
style: {"background-color": 'red' },
But I am unsure how to add a second CSS style to the same element.
Could someone please advise on the correct method to apply multiple styles to the same item?
Thank you!