Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
how to adjust webSplitter height ?
posted

hi

I need to resize a webSplitter to the window's height. I tried with percentage but it doesn't work.
I want now to resize it with javascript :

    function onCollapsed(sender, Args)
    {
        //On horizontal splitter, I collapse the top pane and try to resize the bottom pane
        var pane = sender.getPaneAt(1);
        pane.set_size(800);
    }


the set_size property in igSplitter.js thrown an error on line 1743 "pane = ctr._validPane(this, -1, 1);".
ctr doesn't exist in the rest of the document (ctl ?)
I modified the source but I either can't change the property value...
Is it a bug ?
How can I resize correctly my pane?

Mamat.

Parents
No Data
Reply Children