Custom Timeline view and Custom header View

Hi,

Check the following image

How to update the following?

  1. Hide today button
  2. Display time headers as indicated
  3. Display Additional elements in Headers, like Copy last week events button, week based dropdown, Export current week …etc
  4. User should be able to create events for only one day. Block creating an event for two or more days, all events should start and end within a day.
  5. Also, is there any way to customize timeline view. Instead of dragging and creating events I want a way to display like grid in timelineview. Is this possible?

Regards,
Karthik

Hello,

  1. The easiest way to do it is to use css.dhx_cal_today_button{ display:none; }

  2. You can override client-side templates for timeline view,
    here is the list of templates scheduler-net.com/docs/timeline_ … lates.html
    The code may look like followingvar dateToStr = scheduler.date.date_to_str(scheduler.config.hour_date); scheduler.templates.timeline_scale_date = function(date){ return dateToStr(date) + " – " + dateToStr(scheduler.date.add(date, 59, "minute")); };

  3. currently you can’t directly modify generated markup(except for templates). You may try render those controls with one of scheduler header’s templates,
    or create controls outside the scheduler and then just move them to desired position inside the header.

  4. try checking event duration with client-side “onEventChanged” and “onEventAdded” events, and then modify events if it’s necessary
    docs.dhtmlx.com/doku.php?id=dhtm … entchanged
    docs.dhtmlx.com/doku.php?id=dhtm … eventadded

  5. I’m not sure i get it, can you attach an image with the desired look of the timeline?