This demo shows the way of adding custom items into the Scheduler header bar. Here, an employee image is added to the header bar, clicking on which will open the popup showing that person's short profile information.
In this demo, a popup has been designed separately with a person's profile info and kept in a hidden state initially. A custom
item has been added to the Scheduler header bar within the
ActionBegin event by checking for the request type as
ToolbarItemRendering which triggers at the time of header bar items rendering on the Schedule.
Once the items are added, the click action is being bound to it in the
ActionComplete event by checking for the request type as
ToolbarItemRendered which triggers after the items are rendered on the Schedule. The appropriate action of showing or hiding the popup
on clicking the custom item has been done within it.
In case, if the header bar of Scheduler needs to be hidden, it can be done by setting false to