Category / Section
How to set the height of a splitter bar and a splitter pane through client side code?
1 min read
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://help.syncfusion.com/support/samples/kb/tools.Web/6.1.0.34/71308/71308.zip