I am using google chrome 19.x or IE9.x
I have set the Html5 Doctype.
I have a jquery dynatree plugin inside my TreeDiv.
Although there is enough space to show more tree items vertically without the need to scroll, those scrollbars are visible.
Why is that?
The problem also is when the vertical space gets so less then vertical scrollbars are also shown from the dynatree which is inside an ul-tag. Thus the ul-dynatree is doing it correctly, only my div is going crazy with the scrollbars!
I can even set overflow: hidden; on the TreeDiv that does not help. The vertical scrollbar is always visible :/
function loadUnits(data) {
$('#TreeDiv').dynatree({
onActivate: function (node) {
getEmployees(node.data.key);
}, children: data
});
}
#TreeDiv{
width: 200px;
position: fixed;
left: 100px;
top: 50px;
bottom: 0px;
overflow: hidden;
}