Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nagh on Mar 11, 2009 09:25
open dhtmlx forum
treegrid enableMultiLineItems cause linebreak in lines between nodes

Hello!

I'm using treegrid with enableMultiLineItems options enabled.
When text in top node splits into two or more lines lines betweeen [+] nodes will have white space there.

Is it bug, by design and how it can be fixed ?

Thanks!
Answer posted by dhxSupport on Mar 11, 2009 09:41
Could you please send us screenshot where this issue occurs.
Answer posted by Nagh on Mar 13, 2009 04:06
Sure, here it is.
Attachments (1)
Answer posted by Alex (support) on Mar 13, 2009 08:33

Yes, multiline mode breaks tree lines. Unfortunately, there are no ways to change this behaviour. In this case tree lines should be disabled:

tree.enableTreeLines(false);

The same approach is used in the sample dhtmlxTree/samples/appearance/pro_multi_line.html

Answer posted by Nagh on Mar 13, 2009 08:57

Okay, thanks for clarification.

Is there some workaround available to still have this lines without breaks in multiline mode? (special modification to source code is acceptable also)

Thanks!
Answer posted by Alex (support) on Mar 13, 2009 09:33
Unfortunately, there isn't any workarround. The only way is to disable lines at all.
Answer posted by Nagh on Mar 13, 2009 09:34
Okay, thanks!