Jump to content
uniGUI Discussion Forums
codeb

Question about UniCalendarPanel - setting View

Recommended Posts

Hello,

 

I have one question about setting up UniCalendarPanel to see WeekView events when start application?(by default is on MonthView ).

How I do that?

 

Thanks

Share this post


Link to post
Share on other sites

Hi,

One of the ways, try:

UniCalendarPanel1 -> ClientEvents -> ExtEvents -> add function afterrender

function afterrender(sender, eOpts)
{
  // 0 - Day
  // 1 - Week
  // 2 - Month
  sender.setActiveView(1);
}

Best regards.

  • Upvote 1

Share this post


Link to post
Share on other sites

Thanks for answer

I have new question about component. How to change format time from AM-PM to  24 hour format and how to limit time on DayView scheduler like from 7:00 to 18:00.

 

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×