Hi,
I saw the following link... and its useful
http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm Aikido->Nested Panes and More
But i like to know while moving the vertical splitter towards left side...how can i stretch the left pane contents...instead of providing a scrollbar either way... Code help please...
Hi Wishnu,
The easiest approach is to use % width/height of html elements/controls located in SplitterPane. In this case a browser will do all "stretch" for you.
If you prefer manual adjustments, then you may process ClientEvents.SplitterBarPositionChanged, get references to affected panes, their DIV containers, old/new sizes, etc. So, you may use those value to adjuct bounds of all child elements in those panes. Below is example:
function positionChanged(splitter, evtArgs){ var pane1 = evtArgs.get_nextPane(); //get_prevPane(); var div1 = pane1.getBody(); var clientWidth = pane1.getClientWidth(); var newSize1 = evtArgs.get_nextPaneNewSize(); ...}
Can you give a complete/full example please... Just place some simple controls inside the pane and give an example of events to stretch the pane contents...
Regards,
Wishnu