Jump to content

Recommended Posts

Posted

Hi.

 

As the attached image, how to disable the "items" red.boxed? (disable and set invisible)

 

I'd like to show a month, but disable the option to the user to change month, change year, go today, etc.

 

Is possible?

 

Thanks.

post-4123-0-12249700-1481648202_thumb.gif

Posted

Hi,

 

For hide "Today" you can try this:

 

... ClientEvents -> UniEvents -> Ext.picker.Date [picker] -> function picker.beforeInit:

function picker.beforeInit(sender, config)
{
    config.showToday = false
}

Best regards.

  • 4 months later...
Posted

Hi.

 

I've done, and works as expected. Many thanks.

 

Is possiblo to change the size of the calendar? Now I see it different in design time ans run time. I don't know why.

 

I need to view only one month, and the posibility of change the size. Is this possible?

 

Thanks.

Posted

Ok.

 

file 1 is in design time. file 2, is the runtime of file 1. as you can see its size is different

 

 

file 3 is in design time, and file 4 is the runtime of file 3. as you can see, they are completely differents.

 

I'd like to see, only one month per time, but in the same size (or the size I prefer), of the file 3.

 

Thanks.

post-4123-0-19253200-1492693142_thumb.png

post-4123-0-57413100-1492693143_thumb.png

post-4123-0-83809800-1492693144_thumb.png

post-4123-0-12997400-1492693146_thumb.png

Posted

Hi,

 

For "width" you can try this approach for now I think:

 

UniCalendar -> ClientEvents -> UniEvents -> Ext.picker.Date[picker] picker.beforeInit fn:

function picker.beforeInit(sender, config)
{
    config.width="100%";   
}

Best regards,

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...