[zTree] [ztree]file name length

Forge Component
(20)
Published on 2019-10-03 by Eduardo Luís
20 votes
Published on 2019-10-03 by Eduardo Luís

Hello everyone

ztree widget is new for me.so I have a lot of questions.

I think it is powerful widget and I believe it can achieve my requirement.

my requirement is: how to fix file name length?

I my web page file name is so long and ztree container is overflow.

I need to show new line.How to achieve it.I tried newline() and chr() method but does't work.

Thanks

Hi May,


You can 

SyntaxEditor Code Snippet

Substr(Value,0,10)

how may words you want show you can adjust.


Hope this will help you.
Regards

Rahul Sahu

Hi,

If you could share an oml or oap file, and some guidance where you have the problem that it will be easier for someone to help you. 

Regards,

Daniel

Thanks all

I share my oml.

Please check it out.

Thanks.

Hi,

If you add the following CSS it will cut off the long file name.

I think splitting the complete name over multiple lines looks 'messy'

Regards,

Daniel

Daniël Kuhlmann wrote:

Hello Daniel

Thanks for your answer.

Yes,your thinking is right (complete name over multiple lines looks 'messy'),but my file name japanese language.

so I need to show complete name even multiple line.If you have any other  idea let me know please.


Thanks

Hi,

If you add the following CSS it will cut off the long file name.

I think splitting the complete name over multiple lines looks 'messy'

Regards,

Daniel