Tag Archives: Split view

Switch WebScheduler’s view to SplitView using javascript

Today I want to share tips on how to switch WebSheduler’s view to SplitView. You just need to add some javascript codes, such as following:

function Button1_onclick()
{
       var ws = ISGetObject(“WebScheduler1”);

       if (ws.IsInSplitViewMode)
                ws.IsInSplitViewMode = false;
       else
                ws.IsInSplitViewMode = true;

       ws.SetSelectedViewMode(“Day”);
}

You can also download the sample here.

Cheers,
Gordon.