Premium support for our pure JavaScript UI components


Post by sudhanshu.jain »

In Scheduler pro used popup widget with customised html on eventClick instead of TaskEdit and also showing the popup on scheduleClick.

const editor = WidgetHelper.openPopup(eventElement, {
      autoClose: true,
      closable: true,
      closeAction: 'destroy',
      header: 'Schedule Task',
      scrollAction: 'realign',
      anchor: true,
      html: '<p>Custom Html</p>',
    }).showByPoint(x, y, { anchor: true });

dynamically changing the x and y values passed in showByPoint based on the position of event/schedule click

  1. Added showByPoint with parameters x and y to show the popup at the point of click, anchor is not visible on adding showByPoint. Is there a way to show the arrow using showByPoint?

  2. On scheduleClick is there a way to highlight the cell that is clicked on with some background color?


Post by mats »

  1. No, use https://bryntum.com/docs/scheduler/#Core/widget/Widget#function-showBy instead

  2. Currently not I'm afraid. You could try solving it yourself by using ResourceTimeRanges for now


Post by pmiklashevich »

For example:

popup = new Popup({
  forElement : scheduler.element,
  html: '<p>Custom Html</p>',
  autoShow: false,
  anchor: true
})
popup.showBy({ target : scheduler.getEventElement(scheduler.eventStore.first) })

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply