Hi Peter,
I wrote the following code, but it is not working….
i know i’m doing it in wrong way…… plz tell me the solution….
I want to expand/collapse splitter on click of ‘Show/Hide’ button…
(If splitter is expanded then on button click it should collapse and on next click it should expand and so on…)
function showOrHide(){
$(‘#MainSplitter’)
.bind(‘expanded’,
function (event) {
$(‘#MainSplitter’).jqxSplitter(‘collapseAt’, 0);
}
);
$(‘#MainSplitter’)
.bind(‘collapsed’,
function (event) {
$(‘#MainSplitter’).jqxSplitter(‘expandAt’, 0);
}
);
}