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.

Advertisements

2 thoughts on “Switch WebScheduler’s view to SplitView using javascript

  1. Jo Raleigh

    Hi, I wonder if you could do some development work in websheduler, or if you know anyone who can. Im in need of technical assistance using ‘Componentgo’ Websheduler for an hotel booking schedule.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s