It is possible to overwrite CalendarManager

Show cool things you have done with our products
Post Reply
User avatar
Jean
Posts: 9
Joined: Wed Feb 20, 2019 11:12 pm

It is possible to overwrite CalendarManager

Post by Jean » Fri Feb 22, 2019 10:19 pm

I use CalendarManager
But I want to get some events, but I can not find them in the documentation

1 --> I need the click event
When I select another calendar I want to change the schedule and set it (picture 2)

2 --> This I have created with Extjs obtaining the index components and then adding, Its okay or is there another way to create?

3 -- > I can not find the Click event of saving the calendar in my BD

Please, can you tell me where I find those events?
Attachments
cuestions.png
cuestions.png (79.13 KiB) Viewed 361 times

User avatar
mats
Core Developer
Core Developer
Posts: 14593
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: It is possible to overwrite CalendarManager

Post by mats » Sun Feb 24, 2019 12:33 pm

It's possible, but the widget wasn't designed to be heavily customised.

1.

Code: Select all

        calendarWindow.down('treepanel').on('selectionchange', console.log);
2. It's ok, not ideal but hard to do it in a future proof way. You'll have to keep your eyes open for any changes made to the calendar manager UI in future releases, but we have nothing planned there so should be ok.

3.

Code: Select all

       calendarWindow.down('button[text=Aceptar]').on('click', console.log);
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
Jean
Posts: 9
Joined: Wed Feb 20, 2019 11:12 pm

Re: It is possible to overwrite CalendarManager

Post by Jean » Fri Mar 01, 2019 1:15 am

thanks for your reply.

Post Reply