We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Splitter Bar & Splitter Pane ClientSide Height

Is there a way to set the height of a splitter bar and a splitter pane through clientside code?


1 Reply

VK Vishnu Kumar Syncfusion Team January 28, 2008 09:26 AM UTC

Hi Ray,

Thank you for your patience.

set the height of a splitter bar and a splitter pane through client side code.

You can set the height of a splitter bar and a splitter pane through client side code using the below code snippet:


[java script]

function ChangeSplitterHeight( nDelta )
{
var nOldHeight = _sfSplitter1.GetHeight();
var nNewHeight = nOldHeight + nDelta;
if( nNewHeight > 0 )
{
_sfSplitter1.SetHeight( nNewHeight );
}
}



Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com//samples/Tools.Web/6.1.0.34/71308/main.htm

Please try running the above sample and let me know if this helps.

Regards,
Vishnu.



Loader.
Live Chat Icon For mobile
Up arrow icon