Jump to content
uniGUI Discussion Forums
JULIO CESAR PALADINO

UniCalendarPanel change time limit

Recommended Posts

Hello

 

I wonder if there is any time in UniCalendarPanel.

When opening a day flap, it does from 8:00 AM to 7:00 PM, how do I change the beginning and end of the day with other times?

type: beginning 06:00 AM and ending at 10:00 PM

 

Translation: Google translator

Share this post


Link to post
Share on other sites

Hello,

 

One possible solution I think:

function beforeInit(sender, config)
{
    config.views = {
        day: {
            startTime: 6,
            endTime: 22
        },
        week: {
            startTime: 6,
            endTime: 22
        }
    }
}

Share this post


Link to post
Share on other sites
How can I handle these parameters at run time?

 

Sorry, what do you mean?

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

×