Hi,
Using the information in the thread at http://news.infragistics.com/forums/t/5766.aspx, I've been able to get a WebTree to resize from client-side Javascript in Internet Explorer, but the same method does not work with Firefox, I have not tried Safari.
var tree = igtree_getTreeById("SomeTree"); var clientHeight = document.documentElement.clientHeight; tree.Element.style.height = clientHeight;
(and yeah - the document.documentElement.clientHeight is correct in Firefox)
I've tried 8.2 and 8.3.20083.2021 versions of the control.
Does anybody know of a way to resize the tree from Javascript in Firefox?
Hi Ivan,
Thanks for the reply. The trick in Firefox was to use append a "px" to the number when setting the height. Seems to work fine in IE as well.
Thanks,
Jason
Hello,Your code works properly in IE6 and IE7 and Firefox. Please take a look at the picture below:What am I missing?Thanks.