I have some splitters which remember state per user.
If I collapse a panel then expand it all works fine.
But if I collapse the panel, reload the page so that its initialised collapsed, then expand it, I am unable to resize it.
Reloading the page so it starts expanded and all is fine again.
$("#main_wrap").kendoSplitter({
orientation: "horizontal",
panes: [
<? if ($_SESSION['horizontal'] <= 0){$sidebar_state = ", collapsed: true"; $_SESSION['horizontal'] = 100;} ?>
{ collapsible: true<?=$sidebar_state?>, resizable:true, size: "<?=$_SESSION['horizontal']?>px" },
{ collapsible: false, resizable:true}
]
});
If I collapse a panel then expand it all works fine.
But if I collapse the panel, reload the page so that its initialised collapsed, then expand it, I am unable to resize it.
Reloading the page so it starts expanded and all is fine again.
$("#main_wrap").kendoSplitter({
orientation: "horizontal",
panes: [
<? if ($_SESSION['horizontal'] <= 0){$sidebar_state = ", collapsed: true"; $_SESSION['horizontal'] = 100;} ?>
{ collapsible: true<?=$sidebar_state?>, resizable:true, size: "<?=$_SESSION['horizontal']?>px" },
{ collapsible: false, resizable:true}
]
});