Ellipsify tree item with long text

I am using a tree with a fixed width, no horizontal scroll added.

Tree item template uses flex layout to display text and icon horizontally, in which the text has to take remaining width of item.

But if the text is too long , It needs to be ellipsified.

Problem 1 : long text makes the div grow as big as its content, so does not take the ellipsify css.
Link : https://snippet.webix.com/nazxyor1

Problem 2 : On using type: "lineTree", item with long text gets misaligned
Link : https://snippet.webix.com/fws6b58u

Tagged:

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!