[CLOSED] CalendarPanel - Add a new slot bellow each regular slot

  1. #1

    [CLOSED] CalendarPanel - Add a new slot bellow each regular slot

    Hi!

    I'm making a Schedule for Rooms and Devices...
    Bellow each slot, I need create a new slot with the time required to cleaning this room...

    What is better listener event to make this function?
    I want this to work just to load the database slots, which do a resize in CalendarPanel, move slot, etc...

    I wish there was a function that occurs every time the slot is rendered in CalendarPanel, because then I do it only in a certain location of source-code (if possible)

    Thanks for any tip.
    Last edited by Daniil; Jul 11, 2012 at 1:11 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Unfortunately, there is no such event and any built-in functionality to achieve your requirement.

    The single way I can see is override the default views templates. I can't estimate how difficult it might be.
  3. #3
    Ok, not a big problem...

    Thanks a lot, Daniil
  4. #4
    I had an idea...

    if I use the listeners of record or store of CalendarPanel...
    When A record is added, I add a new record with a Cleaning time required.. When record is removed, I remove a Cleaning time required record... change record, same to Cleaning time required... And in CalendarPanel I lock the edit of slot if slot is a Cleaning time...

    What you think about this? Is a solution?
  5. #5
    I have not 100% got the requirement, but sounds realistically to be implemented.
  6. #6
    Ok, thanks for your opnion, Daniil!

    If I need help about CalendarPanel store listeners, I create a new Thread... If you want, you can close this thread...

    Thanks a lot.

Similar Threads

  1. [CLOSED] CalendarPanel: customizing the event slot.
    By supera in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 04, 2013, 4:40 AM
  2. [CLOSED] CalendarPanel: How I lock moving and resize of Event slot?
    By supera in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 24, 2012, 11:20 AM
  3. Replies: 9
    Last Post: Apr 18, 2012, 2:09 PM
  4. [CLOSED] CalendarPanel: How I insert a icon in Event slot?
    By supera in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 17, 2012, 8:19 PM
  5. Replies: 5
    Last Post: Mar 28, 2012, 7:38 PM

Posting Permissions