This topic contains 3 replies, has 2 voices, and was last updated by Hristo 9 years ago.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › Navigation › Tree › Disable horizontal scrollbar
This topic contains 3 replies, has 2 voices, and was last updated by Hristo 9 years ago.
Hi,
Is there a way to disable the horizontal scrollbar of the tree? I’d prefer it shows ellipsis or just cut off when overflow.
Another question is is there a way to hide the checkbox only on the parent level, but the child items still have checkbox?
Thanks!
Meng
Hello Meng,
You could avoid the scrollbar on that way when initialize the jqxTree without height.
Please take a look this demo:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtree/treebindingtojson.htm?arctic
Unfortunately about “parent without checkbox” we do not have such property.
You could create some custom logic for this.
Please take a look this demo:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtree/checkboxes.htm?arctic
(there is present property – ‘hasThreeStates’ and could be useful)
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com
Hi Hristo,
Currently my height is set to auto, and I didn’t see vertical scrollbar. But what I’m looking for is to hide the horizontal scrollbar and show text with ellipsis when it’s overflow on width. Could you provide direction on that?
Thanks!
Meng
Hello Meng,
Please take a look this workaround:
http://jsfiddle.net/txhi/rxtjhewh/
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com
You must be logged in to reply to this topic.