| Name | Type | Default |
|
aiProvider
# |
string
|
'anthropic'
|
Sets or gets the AI provider that the Scheduler's AI requests are written for: 'anthropic' (Claude, the default) or 'openai'; 'custom' uses the Anthropic format. It sets the request format, the headers and the default model, also for requests sent to aiProxyUrl. It is not used when aiSendRequest is set. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module and has no AI inputs. Import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component and set this option with the aiConfig method, as provider:
import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
// The 27.1.0 component does not load the AI module: import it after the component.
import 'jqwidgets-ng/jqwidgets/jqxwidgets.ai.js';
import 'jqwidgets-ng/jqwidgets/jqxscheduler.ai.js';
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[width]="800"
[height]="600"
[source]="dataAdapter"
[view]="'weekView'"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`
})
export class App implements AfterViewInit {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: [
{
id: 'id1',
subject: 'Project review',
start: new Date(2026, 10, 20, 9, 0, 0),
end: new Date(2026, 10, 20, 11, 0, 0)
}
]
};
dataAdapter = new jqx.dataAdapter(this.source);
appointmentDataFields = { from: 'start', to: 'end', id: 'id', subject: 'subject' };
views = ['dayView', 'weekView', 'monthView'];
ngAfterViewInit(): void {
// The component has no AI inputs in 27.1.0: configure the AI module with aiConfig.
this.myScheduler().aiConfig({ provider: 'openai', proxyUrl: '/api/ai' });
}
}
|
|
aiKey
# |
string
|
null
|
Sets or gets the API key that the Scheduler sends straight to the provider (in the x-api-key header for Anthropic, as Authorization: Bearer for OpenAI). For local trials only: a key in the page can be read by everyone who opens it. In production leave it empty and set aiProxyUrl or aiSendRequest. With none of the three set, every AI request fails with "AI is not configured". Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module and has no AI inputs. Import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component and set this option with the aiConfig method, as apiKey:
import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
// The 27.1.0 component does not load the AI module: import it after the component.
import 'jqwidgets-ng/jqwidgets/jqxwidgets.ai.js';
import 'jqwidgets-ng/jqwidgets/jqxscheduler.ai.js';
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[width]="800"
[height]="600"
[source]="dataAdapter"
[view]="'weekView'"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`
})
export class App implements AfterViewInit {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: [
{
id: 'id1',
subject: 'Project review',
start: new Date(2026, 10, 20, 9, 0, 0),
end: new Date(2026, 10, 20, 11, 0, 0)
}
]
};
dataAdapter = new jqx.dataAdapter(this.source);
appointmentDataFields = { from: 'start', to: 'end', id: 'id', subject: 'subject' };
views = ['dayView', 'weekView', 'monthView'];
ngAfterViewInit(): void {
// The component has no AI inputs in 27.1.0: configure the AI module with aiConfig.
this.myScheduler().aiConfig({ apiKey: 'YOUR-API-KEY' });
}
}
|
|
aiModel
# |
string
|
null
|
Sets or gets the model the AI requests ask for. When null, the provider's default is used: 'claude-opus-4-8' for 'anthropic' and 'custom', 'gpt-4o' for 'openai'. With aiSendRequest, it is passed to your function as request.model. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module and has no AI inputs. Import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component and set this option with the aiConfig method, as model:
import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
// The 27.1.0 component does not load the AI module: import it after the component.
import 'jqwidgets-ng/jqwidgets/jqxwidgets.ai.js';
import 'jqwidgets-ng/jqwidgets/jqxscheduler.ai.js';
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[width]="800"
[height]="600"
[source]="dataAdapter"
[view]="'weekView'"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`
})
export class App implements AfterViewInit {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: [
{
id: 'id1',
subject: 'Project review',
start: new Date(2026, 10, 20, 9, 0, 0),
end: new Date(2026, 10, 20, 11, 0, 0)
}
]
};
dataAdapter = new jqx.dataAdapter(this.source);
appointmentDataFields = { from: 'start', to: 'end', id: 'id', subject: 'subject' };
views = ['dayView', 'weekView', 'monthView'];
ngAfterViewInit(): void {
// The component has no AI inputs in 27.1.0: configure the AI module with aiConfig.
this.myScheduler().aiConfig({
provider: 'openai',
model: 'gpt-4o-mini',
proxyUrl: '/api/ai'
});
}
}
|
|
aiProxyUrl
# |
string
|
null
|
Sets or gets the URL of your server endpoint that forwards the AI requests to the provider, so the API key stays on the server. The Scheduler POSTs the request in the provider's format (see aiProvider) to this URL, with the provider's headers and aiHeaders, and reads the reply in the provider's format. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module and has no AI inputs. Import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component and set this option with the aiConfig method, as proxyUrl:
import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
// The 27.1.0 component does not load the AI module: import it after the component.
import 'jqwidgets-ng/jqwidgets/jqxwidgets.ai.js';
import 'jqwidgets-ng/jqwidgets/jqxscheduler.ai.js';
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[width]="800"
[height]="600"
[source]="dataAdapter"
[view]="'weekView'"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`
})
export class App implements AfterViewInit {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: [
{
id: 'id1',
subject: 'Project review',
start: new Date(2026, 10, 20, 9, 0, 0),
end: new Date(2026, 10, 20, 11, 0, 0)
}
]
};
dataAdapter = new jqx.dataAdapter(this.source);
appointmentDataFields = { from: 'start', to: 'end', id: 'id', subject: 'subject' };
views = ['dayView', 'weekView', 'monthView'];
ngAfterViewInit(): void {
// The component has no AI inputs in 27.1.0: configure the AI module with aiConfig.
this.myScheduler().aiConfig({ proxyUrl: '/api/ai' });
}
}
|
Sets or gets extra HTTP headers for the AI requests, for example a token your aiProxyUrl endpoint checks. They replace the provider's headers of the same name. Not used with aiSendRequest. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module and has no AI inputs. Import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component and set this option with the aiConfig method, as headers:
import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
// The 27.1.0 component does not load the AI module: import it after the component.
import 'jqwidgets-ng/jqwidgets/jqxwidgets.ai.js';
import 'jqwidgets-ng/jqwidgets/jqxscheduler.ai.js';
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[width]="800"
[height]="600"
[source]="dataAdapter"
[view]="'weekView'"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`
})
export class App implements AfterViewInit {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: [
{
id: 'id1',
subject: 'Project review',
start: new Date(2026, 10, 20, 9, 0, 0),
end: new Date(2026, 10, 20, 11, 0, 0)
}
]
};
dataAdapter = new jqx.dataAdapter(this.source);
appointmentDataFields = { from: 'start', to: 'end', id: 'id', subject: 'subject' };
views = ['dayView', 'weekView', 'monthView'];
ngAfterViewInit(): void {
// The component has no AI inputs in 27.1.0: configure the AI module with aiConfig.
this.myScheduler().aiConfig({
proxyUrl: '/api/ai',
headers: { 'X-CSRF-Token': 'token-from-your-page' }
});
}
}
|
|
aiSendRequest
# |
(request: any, owner: any) => any
|
null
|
Sets or gets a function that sends the AI requests itself, in place of the Scheduler's own fetch call. It is called as aiSendRequest(request, scheduler), where request is { system, user, model, provider }, and returns the model's reply text, or a Promise of it. When it is set, aiKey, aiProxyUrl and aiHeaders are not used. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module and has no AI inputs. Import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component and set this option with the aiConfig method, as sendRequest:
import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
// The 27.1.0 component does not load the AI module: import it after the component.
import 'jqwidgets-ng/jqwidgets/jqxwidgets.ai.js';
import 'jqwidgets-ng/jqwidgets/jqxscheduler.ai.js';
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[width]="800"
[height]="600"
[source]="dataAdapter"
[view]="'weekView'"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`
})
export class App implements AfterViewInit {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: [
{
id: 'id1',
subject: 'Project review',
start: new Date(2026, 10, 20, 9, 0, 0),
end: new Date(2026, 10, 20, 11, 0, 0)
}
]
};
dataAdapter = new jqx.dataAdapter(this.source);
appointmentDataFields = { from: 'start', to: 'end', id: 'id', subject: 'subject' };
views = ['dayView', 'weekView', 'monthView'];
ngAfterViewInit(): void {
// The component has no AI inputs in 27.1.0: configure the AI module with aiConfig.
this.myScheduler().aiConfig({
sendRequest: async (request: { system: string; user: string }) => {
// request: { system, user, model, provider }; your server returns the model's reply text
const response = await fetch('/api/ai', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(request)
});
return response.text();
}
});
}
}
|
|
aiMaxRows
# |
number
|
40
|
Sets or gets how many appointments the AI requests carry: aiAsk, aiSummarize (when no appointment is selected) and aiClassifyAppointments send the first aiMaxRows visible appointments. aiCommand, aiScheduleAppointment and aiFindSlot send none, and aiExplainAppointment sends one appointment and totals. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module and has no AI inputs. Import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component and set this option with the aiConfig method, as maxRows:
import { AfterViewInit, Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
// The 27.1.0 component does not load the AI module: import it after the component.
import 'jqwidgets-ng/jqwidgets/jqxwidgets.ai.js';
import 'jqwidgets-ng/jqwidgets/jqxscheduler.ai.js';
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[width]="800"
[height]="600"
[source]="dataAdapter"
[view]="'weekView'"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`
})
export class App implements AfterViewInit {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: [
{
id: 'id1',
subject: 'Project review',
start: new Date(2026, 10, 20, 9, 0, 0),
end: new Date(2026, 10, 20, 11, 0, 0)
}
]
};
dataAdapter = new jqx.dataAdapter(this.source);
appointmentDataFields = { from: 'start', to: 'end', id: 'id', subject: 'subject' };
views = ['dayView', 'weekView', 'monthView'];
ngAfterViewInit(): void {
// The component has no AI inputs in 27.1.0: configure the AI module with aiConfig.
this.myScheduler().aiConfig({ maxRows: 100 });
}
}
|
|
allowOverlap
# |
boolean
|
true
|
Sets or gets whether appointments may overlap. When false, an appointment cannot be added, moved, resized, edited or imported over another appointment of the same resource (any other appointment, without resources); appointments with the status 'free' do not count, and a recurring appointment is checked over its first year. appointmentAdding / appointmentChanging arrive with event.args.cancel set to true and event.args.reason = { type: 'overlap', appointment, message }, and a handler can still allow it by setting event.args.cancel to false.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[allowOverlap]="false"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
blockedTimes
# |
array
|
null
|
Sets or gets the times that cannot be booked: an array of { from, to, resourceId, recurrenceRule, text }. from and to are Dates, date strings or $.jqx.date values in the scheduler's time zone; recurrenceRule (an RRULE such as 'FREQ=DAILY' or 'FREQ=WEEKLY;BYDAY=SA,SU') repeats the range; resourceId limits it to one resource; text is shown in the blocked cells and given as the reason. Blocked cells are hatched. An appointment added, moved, resized, edited or imported into a blocked time is turned down: appointmentAdding / appointmentChanging arrive with event.args.cancel set to true and event.args.reason = { type: 'blockedTime', blockedTime, message }, and a handler can still allow it by setting event.args.cancel to false. The edit dialog shows the message. The data source's own appointments are not checked.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
maxDuration
# |
number
|
null
|
Sets or gets the longest an appointment may last, in minutes; null for no limit. An appointment added, resized, edited or imported longer than that is turned down: appointmentAdding / appointmentChanging arrive with event.args.cancel set to true and event.args.reason = { type: 'duration', message }, and a handler can still allow it by setting event.args.cancel to false. All-day appointments are not limited.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
minDuration
# |
number
|
null
|
Sets or gets the shortest an appointment may last, in minutes; null for no limit. An appointment added, resized, edited or imported shorter than that is turned down: appointmentAdding / appointmentChanging arrive with event.args.cancel set to true and event.args.reason = { type: 'duration', message }, and a handler can still allow it by setting event.args.cancel to false. All-day appointments are not limited.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
appointmentOpacity
# |
number
|
0.7
|
Sets or gets the appointments opacity.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[appointmentOpacity]="0.7"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
appointmentsMinHeight
# |
number
|
18
|
Sets or gets the minimum height of appointments in the all day area, month view and timeline views.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'monthView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[appointmentsMinHeight]="50"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
appointmentDataFields
# |
SchedulerAppointmentDataFields
|
{
allDay: "allDay",
background: "background",
borderColor: "borderColor",
color: "color",
description: "description",
draggable: "draggable",
from: "from",
hidden: "hidden",
id: "id",
location: "location",
recurrencePattern: "recurrencePattern",
recurrenceException: "recurrenceException",
resizable: "resizable",
resourceId: "resourceId",
readOnly: "readOnly",
subject: "subject",
style: "style",
status: "status",
to: "to",
tooltip: "tooltip",
timeZone: "timeZone"
}
|
SchedulerFREQ: "DAILY" | "WEEKLY" | "MONTHLY" | "YEARLY"
Interface SchedulerAppointmentDataFields { allDay?: boolean | string; background?: string; borderColor?: string; color?: string; description?: string; draggable?: boolean | string; from?: string; hidden?: boolean | string; id?: number | string; location?: string; recurrencePattern?: SchedulerRecurrencePattern | string; recurrenceException?: string; resizable?: boolean | string; resourceId?: number | string; readOnly?: boolean | string; subject?: string; style?: string; status?: string; to?: string; tooltip?: string; timeZone?: string; }
Interface SchedulerRecurrencePattern { FREQ?: SchedulerFREQ; COUNT?: number; UNTIL?: string; BYDAY?: string; BYMONTHDAY?: string; BYMONTH?: number; INTERVAL?: number; }
Sets or gets the appointments data fields. A data field should match a field defined in the dataAdapter's source object. For example: If your have a data field called "start" in your source object, you should add 'from: "start"' in the appointmentDataFields definition.
- allDay - boolean field. Defines whether the appointment is all day appointment.
- background - string field. Expects Hex string. Defines the appointment's background.
- borderColor - string field. Expects Hex string. Defines the appointment's border color.
- color - string field. Expects Hex string. Defines the appointment's text color.
- description - string field. Defines the appointment's description.
- draggable - boolean field. Defines whether the user can drag the appointment.
- from - jqxDate field. Defines the appointment's start.
- hidden - boolean field. Defines whether the appointment is displayed.
- id - string/number field. Defines the Id of the appointment.
- location - string field. Defines the appointment's location.
- recurrencePattern - string field. Defines the appointment's recurrence rule. Ex: "FREQ=DAILY;". List of supported keywords:
- FREQ - "DAILY" / "WEEKLY" / "MONTHLY" / "YEARLY". The FREQ rule part identifies the type of recurrence rule. This rule part MUST be specified in the recurrence rule.
- COUNT - number. The Count rule part defines the number of occurrences at which to range-bound the recurrence.
- UNTIL - string like "UNTIL=20160919T210000Z". The UNTIL rule part defines a date-time value where the recurrence ends.
- BYDAY - string like "MO,TU". The BYDAY rule part specifies a COMMA character (US-ASCII decimal 44) separated list of days of the week; MO indicates Monday; TU indicates Tuesday; WE indicates Wednesday; TH indicates Thursday; FR indicates Friday; SA indicates Saturday; SU indicates Sunday. Each BYDAY value can also be preceded by a positive (+n) or negative (-n) integer. If present, this indicates the nth occurrence of the specific day within the MONTHLY or YEARLY RRULE. For example, within a MONTHLY rule, +1MO (or simply 1MO) represents the first Monday within the month, whereas -1MO represents the last Monday of the month.
- BYMONTHDAY - string like 15, 30. The BYMONTHDAY rule part specifies a COMMA character (ASCII decimal 44) separated list of days of the month. Valid values are 1 to 31
- BYMONTH - number like 1. The BYMONTH rule part specifies a month of the year. Valid values are 1 to 12.
- INTERVAL - number like 1. The INTERVAL rule part contains a positive integer representing how often the recurrence rule repeats. The default value is "1",
Examples: "FREQ=WEEKLY;BYDAY=MO,WE", "FREQ=MONTHLY;BYMONTHDAY=10,15;COUNT=20", "FREQ=DAILY;INTERVAL=3;COUNT=10", "FREQ=MONTHLY;BYDAY=-2FR;COUNT=7", "FREQ=YEARLY;COUNT=30;BYMONTH=3"
- recurrenceException - string field. Defines the exceptions of the recurrence rule. The bound value should be a string or comma separated list of Date strings. Example: "2016-11-24 09:00:00,2016-11-26 12:00:00"
- resizable - boolean field. Defines whether the user can resize the appointment.
- resourceId - string/number field. Defines the appointment's resource.
- readOnly - boolean field. Defines whether the appointment is editable.
- subject - string field. Defines the appointment's subject.
- style - string field. Expects Hex string. Defines the appointment's style. When defined it sets the background, border color and text color of the appointment.
- status - string field. Defines the appointment's status. See the statuses property for available statuses.
- to - jqxDate field. Defines the appointment's end.
- tooltip - string field. Defines the appointment's tooltip displayed on mouse hover.
- timeZone - string field. Defines the appointment's time zone. See timeZones for the list of timeZones.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
appointmentTooltips
# |
boolean
|
true
|
Sets or gets whether Scheduler appointments are with tooltips enabled.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[appointmentTooltips]="false"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
columnsHeight
# |
number
|
30
|
Sets or gets the Schedulers' columns height.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[columnsHeight]="50"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
Sets or gets whether the Scheduler's context menu is enabled.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[contextMenu]="false"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
Interface SchedulerContextMenuOpen { menu: any; appointment: any; event: any; }
Sets or gets a function called when the context menu is opened.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[contextMenuOpen]="contextMenuOpen"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public contextMenuOpen(menu: any, appointment: any, event: any): void {
alert('Context menu opened!');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
Interface SchedulerContextMenuClose { menu: any; appointment: any; event: any; }
Sets or gets a function called when the context menu is closed.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[contextMenuClose]="contextMenuClose"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public contextMenuClose(menu: any, appointment: any, event: any): void {
alert('Context menu closed!');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
Interface SchedulerContextMenuItemClick { menu: any; appointment: any; event: any; }
Sets or gets a function called when a context menu item is clicked.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[contextMenuItemClick]="contextMenuItemClick"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public contextMenuItemClick(menu: any, appointment: any, event: any): boolean | void {
alert('Context menu item click!');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
Interface SchedulerContextMenuCreate { menu: any; settings: any; }
Sets or gets a function called when the context menu is created.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[contextMenuCreate]="contextMenuCreate"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public contextMenuCreate(menu: any, settings: any): void {
alert('Context menu created!');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
changedAppointments
# |
Array<SchedulerChangedAppointments>
|
[]
|
SchedulerType: "Update" | "Delete" | "Add"
Interface SchedulerAppointmentDataFields { allDay?: boolean | string; background?: string; borderColor?: string; color?: string; description?: string; draggable?: boolean | string; from?: string; hidden?: boolean | string; id?: number | string; location?: string; recurrencePattern?: SchedulerRecurrencePattern | string; recurrenceException?: string; resizable?: boolean | string; resourceId?: number | string; readOnly?: boolean | string; subject?: string; style?: string; status?: string; to?: string; tooltip?: string; timeZone?: string; }
Interface SchedulerChangedAppointments { type?: SchedulerType; appointment?: SchedulerAppointmentDataFields; }
Gets an array with newly added, deleted or updated appointments. Each element in the Array is an object which has:
- type - "Update", "Delete", "Add".
- appointment - object which has the appointmentDataFields. See appointmentDataFields property.
|
|
disabled
# |
boolean
|
false
|
Sets or gets whether the Scheduler is disabled.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[disabled]="true"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
date
# |
any
|
new $.jqx.date('todayDate')
|
Sets or gets the Scheduler's Date. To learn how to use jqxDate, please look at the Scheduler's Getting Started help topic.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
dayNameFormat
# |
string
|
'full'
|
Sets or gets the Schedulers' columns day formatting. Possible values: 'shortest', 'firstTwoLetters', 'firstLetter', 'abbr', 'full'.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[dayNameFormat]="'abbr'"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
enableHover
# |
boolean
|
true
|
Sets or gets whether cells hover is enabled.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[enableHover]="false"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
editDialog
# |
boolean
|
true
|
Sets or gets whether Edit Dialog is enabled.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[editDialog]="false"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
editDialogDateTimeFormatString
# |
string
|
"dd/MM/yyyy hh:mm tt"
|
Sets or gets the DateTimeInput's formatString in the Scheduler's Edit Dialog when the appointment is not allDay appointment.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[editDialogDateTimeFormatString]="'dd-MM-yyyy HH:mm'"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
editDialogDateFormatString
# |
string
|
"dd/MM/yyyy"
|
Sets or gets the DateTimeInput's formatString in the Scheduler's Edit Dialog when the appointment is allDay appointment.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[editDialogDateFormatString]="'dd/MM/yyyy'"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
editDialogOpen
# |
(dialog: SchedulerEditDialogOpen['dialog'], fields: SchedulerEditDialogOpen['fields'], editAppointment: SchedulerEditDialogOpen['editAppointment']) => void
|
null
|
Interface SchedulerEditDialogOpen { dialog: any; fields: any; editAppointment: any; }
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[editDialogOpen]="editDialogOpen"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public editDialogOpen(dialog: any, fields: any, editAppointment: any): void {
alert('Edit dialog opened!');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
editDialogCreate
# |
(dialog: SchedulerEditDialogCreate['dialog'], fields: SchedulerEditDialogCreate['fields'], editAppointment: SchedulerEditDialogCreate['editAppointment']) => void
|
null
|
Interface SchedulerEditDialogCreate { dialog: any; fields: any; editAppointment: any; }
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[editDialogCreate]="editDialogCreate"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public editDialogCreate(dialog: any, fields: any, editAppointment: any): void {
alert('Edit dialog created!');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
editDialogKeyDown
# |
(dialog: SchedulerEditDialogKeyDown['dialog'], fields: SchedulerEditDialogKeyDown['fields'], editAppointment: SchedulerEditDialogKeyDown['editAppointment'], event: SchedulerEditDialogKeyDown['event']) => boolean | void
|
null
|
Interface SchedulerEditDialogKeyDown { dialog: any; fields: any; editAppointment: any; event: any; }
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[editDialogKeyDown]="editDialogKeyDown"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public editDialogKeyDown(
dialog: any,
fields: any,
editAppointment: any,
event: any
): boolean | void {
alert('Edit dialog key down!');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
editDialogClose
# |
(dialog: SchedulerEditDialogClose['dialog'], fields: SchedulerEditDialogClose['fields'], editAppointment: SchedulerEditDialogClose['editAppointment']) => void
|
null
|
Interface SchedulerEditDialogClose { dialog: any; fields: any; editAppointment: any; }
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[editDialogClose]="editDialogClose"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public editDialogClose(dialog: any, fields: any, editAppointment: any): void {
alert('Edit dialog closed!');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
exportSettings
# |
SchedulerExportSettings
|
{ serverURL: null, characterSet: null, fileName: "jqxScheduler", dateTimeFormatString: "S", resourcesInMultipleICSFiles: false}
|
Interface SchedulerExportSettings { serverURL?: string | null; characterSet?: string | null; fileName?: string | null; dateTimeFormatString?: string; resourcesInMultipleICSFiles?: boolean; }
Determines the Data Export settings used by jqxScheduler when exportData is called. See also the exportData method.
- serverURL - determines the URL of the save-file.php.
- characterSet - determines the char set.
- fileName - determines the file's name. Set this to null if you want to export the data to a local variable.
- dateTimeFormatString - determines the dates formatting in the exported file.
- resourcesInMultipleICSFiles - determines whether multiple ICS files will be generated when the Scheduler has resources. Each file will include appointments only from a specific resource.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[exportSettings]="exportSettings"
[ready]="ready"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public exportSettings = { serverURL: null, characterSet: null, fileName: 'jqxScheduler' };
public ready = () => {
this.myScheduler().exportData('pdf');
};
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
height
# |
number | string
|
600
|
Sets or gets the Scheduler's height.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[height]="600"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
legendPosition
# |
string
|
"bottom"
|
Sets or gets the Scheduler's legendPosition. Possible values: "top" and "bottom".
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[legendPosition]="'top'"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
legendHeight
# |
number
|
34
|
Sets or gets the Scheduler's legend height.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[legendHeight]="40"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
localization
# |
any
|
|
Sets or gets the Scheduler's localization.
{
// separator of parts of a date (e.g. '/' in 11/05/1955)
'/': "/",
// separator of parts of a time (e.g. ':' in 05:44 PM)
':': ":",
// the first day of the week (0 = Sunday, 1 = Monday, etc)
firstDay: 0,
days: {
// full day names
names: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
// abbreviated day names
namesAbbr: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
// shortest day names
namesShort: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]
},
months: {
// full month names (13 months for lunar calendars -- 13th month should be "" if not lunar)
names: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""],
// abbreviated month names
namesAbbr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""]
},
// AM and PM designators in one of these forms:
// The usual view, and the upper and lower case versions
// [standard,lowercase,uppercase]
// The culture does not use AM or PM (likely all standard date formats use 24 hour time)
// null
AM: ["AM", "am", "AM"],
PM: ["PM", "pm", "PM"],
eras: [
// eras in reverse chronological order.
// name: the name of the era in this culture (e.g. A.D., C.E.)
// start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era.
// offset: offset in years from gregorian calendar
{"name": "A.D.", "start": null, "offset": 0 }
],
twoDigitYearMax: 2029,
patterns: {
// short date pattern
d: "M/d/yyyy",
// long date pattern
D: "dddd, MMMM dd, yyyy",
// short time pattern
t: "h:mm tt",
// long time pattern
T: "h:mm:ss tt",
// long date, short time pattern
f: "dddd, MMMM dd, yyyy h:mm tt",
// long date, long time pattern
F: "dddd, MMMM dd, yyyy h:mm:ss tt",
// month/day pattern
M: "MMMM dd",
// month/year pattern
Y: "yyyy MMMM",
// S is a sortable format that does not vary by culture
S: "yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss",
// formatting of dates in MySQL DataBases
ISO: "yyyy-MM-dd hh:mm:ss",
ISO2: "yyyy-MM-dd HH:mm:ss",
d1: "dd.MM.yyyy",
d2: "dd-MM-yyyy",
d3: "dd-MMMM-yyyy",
d4: "dd-MM-yy",
d5: "H:mm",
d6: "HH:mm",
d7: "HH:mm tt",
d8: "dd/MMMM/yyyy",
d9: "MMMM-dd",
d10: "MM-dd",
d11: "MM-dd-yyyy"
},
agendaViewString: "Agenda",
agendaAllDaystring: "all day",
agendaDateColumn: "Date",
agendaTimeColumn: "Time",
agendaAppointmentColumn: "Appointment",
backstring: "Back",
forwardstring: "Forward",
toolBarPreviousButtonstring: "previous",
toolBarNextButtonstring: "next",
emptyDatastring: "No data to display",
loadstring: "Loading...",
clearstring: "Clear",
todaystring: "Today",
dayViewstring: "Day",
weekViewstring: "Week",
monthViewstring: "Month",
timelineDayViewstring: "Timeline Day",
timelineWeekViewstring: "Timeline Week",
timelineMonthViewstring: "Timeline Month",
loadingErrorMessage: "The data is still loading and you cannot set a property or call a method. You can do that once the data binding is completed. jqxScheduler raises the 'bindingComplete' event when the binding is completed.",
editRecurringAppointmentDialogTitlestring: "Edit Recurring Appointment",
editRecurringAppointmentDialogContentstring: "Do you want to edit only this occurrence or the series?",
editRecurringAppointmentDialogOccurrencestring: "Edit Occurrence",
editRecurringAppointmentDialogSeriesstring: "Edit The Series",
editDialogTitlestring: "Edit Appointment",
editDialogCreateTitlestring: "Create New Appointment",
contextMenuEditAppointmentstring: "Edit Appointment",
contextMenuCreateAppointmentstring: "Create New Appointment",
editDialogSubjectstring: "Subject",
editDialogLocationstring: "Location",
editDialogFromstring: "From",
editDialogTostring: "To",
editDialogAllDaystring: "All day",
editDialogExceptionsstring: "Exceptions",
editDialogResetExceptionsstring: "Reset on Save",
editDialogDescriptionstring: "Description",
editDialogResourceIdstring: "Owner",
editDialogStatusstring: "Status",
editDialogColorstring: "Color",
editDialogColorPlaceHolderstring: "Select Color",
editDialogTimeZonestring: "Time Zone",
editDialogSelectTimeZonestring: "Select Time Zone",
editDialogSavestring: "Save",
editDialogDeletestring: "Delete",
editDialogCancelstring: "Cancel",
editDialogRepeatstring: "Repeat",
editDialogRepeatEverystring: "Repeat every",
editDialogRepeatEveryWeekstring: "week(s)",
editDialogRepeatEveryYearstring: "year(s)",
editDialogRepeatEveryDaystring: "day(s)",
editDialogRepeatNeverstring: "Never",
editDialogRepeatDailystring: "Daily",
editDialogRepeatWeeklystring: "Weekly",
editDialogRepeatMonthlystring: "Monthly",
editDialogRepeatYearlystring: "Yearly",
editDialogRepeatEveryMonthstring: "month(s)",
editDialogRepeatEveryMonthDaystring: "Day",
editDialogRepeatFirststring: "first",
editDialogRepeatSecondstring: "second",
editDialogRepeatThirdstring: "third",
editDialogRepeatFourthstring: "fourth",
editDialogRepeatLaststring: "last",
editDialogRepeatEndstring: "End",
editDialogRepeatAfterstring: "After",
editDialogRepeatOnstring: "On",
editDialogRepeatOfstring: "of",
editDialogRepeatOccurrencesstring: "occurrence(s)",
editDialogRepeatSavestring: "Save Occurrence",
editDialogRepeatSaveSeriesstring: "Save Series",
editDialogRepeatDeletestring: "Delete Occurrence",
editDialogRepeatDeleteSeriesstring: "Delete Series",
editDialogStatuses:
{
free: "Free",
tentative: "Tentative",
busy: "Busy",
outOfOffice: "Out of Office"
},
loadingErrorMessage: "The data is still loading and you cannot set a property or call a method. You can do that once the data binding is completed. jqxScheduler raises the 'bindingComplete' event when the binding is completed.",
}
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[localization]="localization"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public localization = {
days: {
names: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag']
}
};
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
min
# |
any
|
new $.jqx.date(0)
|
Sets or gets the Scheduler's minimum navigation date. To learn how to use jqxDate, please look at the Scheduler's Getting Started help topic.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[min]="min"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public min = new jqx.date(2026, 11, 9);
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
max
# |
any
|
new $.jqx.date(9999, 12, 31),
|
Sets or gets the Scheduler's maximum navigation date. To learn how to use jqxDate, please look at the Scheduler's Getting Started help topic.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[max]="max"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public max = new jqx.date(2026, 11, 28);
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
ready
# |
() => void
|
null
|
Sets a function called when the Scheduler is rendered and ready for usage.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[ready]="ready"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ready(): void {
alert('ready');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
renderAppointment
# |
(data: SchedulerRenderAppointment['data']) => any
|
null
|
Interface SchedulerRenderAppointment { data: any; }
Sets a function called when the Scheduler is rendering its appointments. The function has one parameter which is object with the following members:
- appointment - object which has the appointmentDataFields. See appointmentDataFields property.
- width - integer. Gets the appointment's width.
- height- integer. Gets the appointment's height.
- textColor - hex string. Gets or sets the appointment's text color.
- background - hex string. Gets or sets the appointment's background color.
- borderColor - hex string. Gets or sets the appointment's border color.
- style - hex string. Gets or sets the appointment's style. This is alternative to textColr, background and borderColor, because it sets them all depending on the HEX string you set.
- cssClass - string. This can be used for adding CSS Class to the appointment.
- html - html string. This can be used for replacing the appointment's HTML Content.
- view - string. Gets the current view - 'dayView', 'weekView', 'monthView', timelineDayView', 'timelineWeekView', 'timelineMonthView'
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[renderAppointment]="renderAppointment"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public renderAppointment(data: any): any {
alert('render appointment');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
rendering
# |
() => void
|
null
|
Sets a function called by the Scheduler when the Scheduler's rendering function is called.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[rendering]="rendering"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public rendering(): void {
alert('rendering');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
rendered
# |
() => void
|
null
|
Sets a function called by the Scheduler when the Scheduler is rendered.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[rendered]="rendered"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public rendered(): void {
alert('rendered');
}
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
rtl
# |
boolean
|
false
|
Sets or gets whether the Scheduler is displayed with Right to Left layout.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[rtl]="true"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
resources
# |
SchedulerResources
|
null
|
SchedulerOrientation: "none" | "horizontal" | "vertical"
Interface SchedulerResources { source?: any; colorScheme?: string; orientation?: SchedulerOrientation; dataField?: string; resourceColumnWidth?: number | string; resourceRowHeight?: number; }
Sets or gets the Scheduler's resource object. The object can have the following members:
- source - dataAdapter or Array.
- colorScheme - string which defines the appointment's style depending on its resourceId. Values from 'scheme01' to 'scheme27'.
- orientation - string which defines the resources representation. Values - 'none', 'horizontal', 'vertical'.
- dataField - string which defines the resourceId. If your appointment's resource field is 'calendar', this dataField should be set to 'calendar'.
- resourceColumnWidth - Integer which defines the Scheduler columns width when 'orientation' is 'horizontal'.
- resourceRowHeight - Integer which defines the Scheduler resource group row height when 'orientation' is 'vertical'.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
rowsHeight
# |
number
|
27
|
Sets or gets the Scheduler rows height.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[rowsHeight]="40"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
showToolbar
# |
boolean
|
true
|
Sets or gets whether the Scheduler's navigation toolbar is displayed.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[showToolbar]="false"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
showLegend
# |
boolean
|
false
|
Sets or gets whether the Scheduler's legend bar is displayed.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
showCurrent
# |
boolean
|
true
|
Sets or gets whether the Scheduler's current time is displayed: today's date is marked in the theme's accent in the day, week, month and year views, a line across today marks the current time in the day and week views, and the appointment in progress is outlined.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
showCurrentAppointment
# |
boolean
|
true
|
Sets or gets whether the Scheduler's legend bar is displayed.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
scrollBarSize
# |
number
|
15
|
Sets or gets the scrollbars size.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[scrollBarSize]="20"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
source
# |
any
|
null
|
Sets or gets the Scheduler appointments data source. The property should point to dataAdapter instance.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
statuses
# |
SchedulerStatuses
|
{
free: "white",
tentative: "tentative",
busy: "transparent",
outOfOffice: "#800080"
}
|
Interface SchedulerStatuses { free?: string; tentative?: string; busy?: string; doNotDisturb?: string; outOfOffice?: string; }
Sets or gets the Scheduler appointments statuses.
|
|
touchRowsHeight
# |
number
|
37
|
Sets or gets the Scheduler rows height on touch device.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[touchRowsHeight]="40"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
theme
# |
string
|
''
|
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[theme]="'material'"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
touchAppointmentsMinHeight
# |
number
|
27
|
Sets or gets the minimum height of appointments on touch devices in the all day area, month view and timeline views.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[touchAppointmentsMinHeight]="40"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
touchScrollBarSize
# |
number
|
18
|
Sets or gets the scrollbars size on touch devices.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[touchScrollBarSize]="20"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
timeZone
# |
string
|
''
|
Sets or gets the Scheduler's Time Zone. Conversions follow daylight saving and current offsets through the browser's time zone data (Intl), and an IANA name such as 'Europe/Sofia' is accepted as well; the offsets below are standard time and are used only where Intl is unavailable. Possible values:
'Dateline Standard Time' - (offsetMinutes: -720, offsetHours: -12, text: '(UTC-12:00) International Date Line West')
'UTC-11' - (offsetMinutes: -660, offsetHours: -11, text: '(UTC-11:00) Coordinated Universal Time-11')
'Hawaiian Standard Time' - (offsetMinutes: -600, offsetHours: -10, text: '(UTC-10:00) Hawaii')
'Alaskan Standard Time' - (offsetMinutes: -540, offsetHours: -9, text: '(UTC-09:00) Alaska')
'Pacific Standard Time (Mexico)' - (offsetMinutes: -480, offsetHours: -8, text: '(UTC-08:00) Baja California')
'Pacific Standard Time' - (offsetMinutes: -480, offsetHours: -8, text: '(UTC-08:00) Pacific Time (US & Canada)')
'US Mountain Standard Time' - (offsetMinutes: -420, offsetHours: -7, text: '(UTC-07:00) Arizona')
'Mountain Standard Time (Mexico)' - (offsetMinutes: -420, offsetHours: -7, text: '(UTC-07:00) La Paz, Mazatlan')
'Mountain Standard Time' - (offsetMinutes: -420, offsetHours: -7, text: '(UTC-07:00) Mountain Time (US & Canada)')
'Central Standard Time' - (offsetMinutes: -360, offsetHours: -6, text: '(UTC-06:00) Central Time (US & Canada)')
'Central America Standard Time' - (offsetMinutes: -360, offsetHours: -6, text: '(UTC-06:00) Central America')
'Canada Central Standard Time' - (offsetMinutes: -360, offsetHours: -6, text: '(UTC-06:00) Saskatchewan')
'Central Standard Time (Mexico)' - (offsetMinutes: -360, offsetHours: -6, text: '(UTC-06:00) Guadalajara, Mexico City, Monterrey')
'SA Pacific Standard Time' - (offsetMinutes: -300, offsetHours: -5, text: '(UTC-05:00) Bogota, Lima, Quito, Rio Branco')
'Eastern Standard Time' - (offsetMinutes: -300, offsetHours: -5, text: '(UTC-05:00) Eastern Time (US & Canada)')
'US Eastern Standard Time' - (offsetMinutes: -300, offsetHours: -5, text: '(UTC-05:00) Indiana (East)')
'Venezuela Standard Time' - (offsetMinutes: -240, offsetHours: -4, text: '(UTC-04:00) Caracas')
'Atlantic Standard Time' - (offsetMinutes: -240, offsetHours: -4, text: '(UTC-04:00) Atlantic Time (Canada)')
'Central Brazilian Standard Time' - (offsetMinutes: -240, offsetHours: -4, text: '(UTC-04:00) Cuiaba')
'Pacific SA Standard Time' - (offsetMinutes: -240, offsetHours: -4, text: '(UTC-04:00) Santiago')
'SA Western Standard Time' - (offsetMinutes: -240, offsetHours: -4, text: '(UTC-04:00) Georgetown, La Paz, Manaus')
'Newfoundland Standard Time' - (offsetMinutes: -210, offsetHours: -3.5, text: '(UTC-03:30) Newfoundland')
'Paraguay Standard Time' - (offsetMinutes: -180, offsetHours: -3, text: '(UTC-03:00) Asuncion')
'SA Eastern Standard Time' - (offsetMinutes: -180, offsetHours: -3, text: '(UTC-03:00) Cayenne, Fortaleza')
'Argentina Standard Time' - (offsetMinutes: -180, offsetHours: -3, text: '(UTC-03:00) Buenos Aires')
'E. South America Standard Time' - (offsetMinutes: -180, offsetHours: -3, text: '(UTC-03:00) Brasilia')
'Bahia Standard Time' - (offsetMinutes: -180, offsetHours: -3, text: '(UTC-03:00) Salvador')
'Montevideo Standard Time' - (offsetMinutes: -180, offsetHours: -3, text: '(UTC-03:00) Montevideo')
'Greenland Standard Time' - (offsetMinutes: -120, offsetHours: -2, text: '(UTC-02:00) Greenland')
'UTC-02' - (offsetMinutes: -120, offsetHours: -2, text: '(UTC-02:00) Coordinated Universal Time-02')
'Mid-Atlantic Standard Time' - (offsetMinutes: -120, offsetHours: -2, text: '(UTC-02:00) Mid-Atlantic - Old')
'Azores Standard Time' - (offsetMinutes: -60, offsetHours: -1, text: '(UTC-01:00) Azores')
'Cape Verde Standard Time' - (offsetMinutes: -60, offsetHours: -1, text: '(UTC-01:00) Cape Verde Is.')
'UTC' - (offsetMinutes: 0, offsetHours: 0, text: '(UTC) Coordinated Universal Time')
'GMT Standard Time' - (offsetMinutes: 0, offsetHours: 0, text: '(UTC) Dublin, Edinburgh, Lisbon, London')
'Greenwich Standard Time' - (offsetMinutes: 0, offsetHours: 0, text: '(UTC) Monrovia, Reykjavik')
'Morocco Standard Time' - (offsetMinutes: 60, offsetHours: 1, text: '(UTC+01:00) Casablanca')
'Central European Standard Time' - (offsetMinutes: 60, offsetHours: 1, text: '(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb')
'W. Central Africa Standard Time' - (offsetMinutes: 60, offsetHours: 1, text: '(UTC+01:00) West Central Africa')
'W. Europe Standard Time' - (offsetMinutes: 60, offsetHours: 1, text: '(UTC+01:00) Amsterdam, Berlin, Rome')
'Central Europe Standard Time' - (offsetMinutes: 60, offsetHours: 1, text: '(UTC+01:00) Belgrade, Budapest, Prague')
'Romance Standard Time' - (offsetMinutes: 60, offsetHours: 1, text: '(UTC+01:00) Brussels, Copenhagen, Madrid, Paris')
'Namibia Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) Windhoek')
'FLE Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) Helsinki, Kyiv, Riga, Sofia')
'South Africa Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) Harare, Pretoria')
'GTB Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) Athens, Bucharest')
'Libya Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) Tripoli')
'E. Europe Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) E. Europe')
'Middle East Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) Beirut')
'Egypt Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) Cairo')
'Israel Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) Jerusalem')
'Kaliningrad Standard Time' - (offsetMinutes: 120, offsetHours: 2, text: '(UTC+02:00) Kaliningrad')
'Turkey Standard Time' - (offsetMinutes: 180, offsetHours: 3, text: '(UTC+03:00) Istanbul')
'Jordan Standard Time' - (offsetMinutes: 180, offsetHours: 3, text: '(UTC+03:00) Amman')
'Syria Standard Time' - (offsetMinutes: 180, offsetHours: 3, text: '(UTC+03:00) Damascus')
'Arab Standard Time' - (offsetMinutes: 180, offsetHours: 3, text: '(UTC+03:00) Kuwait, Riyadh')
'E. Africa Standard Time' - (offsetMinutes: 180, offsetHours: 3, text: '(UTC+03:00) Nairobi')
'Arabic Standard Time' - (offsetMinutes: 180, offsetHours: 3, text: '(UTC+03:00) Baghdad')
'Belarus Standard Time' - (offsetMinutes: 180, offsetHours: 3, text: '(UTC+03:00) Minsk')
'Russian Standard Time' - (offsetMinutes: 180, offsetHours: 3, text: '(UTC+03:00) Moscow, St. Petersburg, Volgograd')
'Iran Standard Time' - (offsetMinutes: 210, offsetHours: 3.5, text: '(UTC+03:30) Tehran')
'Mauritius Standard Time' - (offsetMinutes: 240, offsetHours: 4, text: '(UTC+04:00) Port Louis')
'Georgian Standard Time' - (offsetMinutes: 240, offsetHours: 4, text: '(UTC+04:00) Tbilisi')
'Caucasus Standard Time' - (offsetMinutes: 240, offsetHours: 4, text: '(UTC+04:00) Yerevan')
'Arabian Standard Time' - (offsetMinutes: 240, offsetHours: 4, text: '(UTC+04:00) Abu Dhabi, Muscat')
'Azerbaijan Standard Time' - (offsetMinutes: 240, offsetHours: 4, text: '(UTC+04:00) Baku')
'Afghanistan Standard Time' - (offsetMinutes: 270, offsetHours: 4.5, text: '(UTC+04:30) Kabul')
'Pakistan Standard Time' - (offsetMinutes: 300, offsetHours: 5, text: '(UTC+05:00) Islamabad, Karachi')
'West Asia Standard Time' - (offsetMinutes: 300, offsetHours: 5, text: '(UTC+05:00) Ashgabat, Tashkent')
'Central Asia Standard Time' - (offsetMinutes: 300, offsetHours: 5, text: '(UTC+05:00) Astana')
'Ekaterinburg Standard Time' - (offsetMinutes: 300, offsetHours: 5, text: '(UTC+05:00) Ekaterinburg')
'India Standard Time' - (offsetMinutes: 330, offsetHours: 5.5, text: '(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi')
'Sri Lanka Standard Time' - (offsetMinutes: 330, offsetHours: 5.5, text: '(UTC+05:30) Sri Jayawardenepura')
'Nepal Standard Time' - (offsetMinutes: 345, offsetHours: 5.75, text: '(UTC+05:45) Kathmandu')
'Bangladesh Standard Time' - (offsetMinutes: 360, offsetHours: 6, text: '(UTC+06:00) Dhaka')
'Myanmar Standard Time' - (offsetMinutes: 390, offsetHours: 6.5, text: '(UTC+06:30) Yangon (Rangoon)')
'SE Asia Standard Time' - (offsetMinutes: 420, offsetHours: 7, text: '(UTC+07:00) Bangkok, Hanoi, Jakarta')
'N. Central Asia Standard Time' - (offsetMinutes: 420, offsetHours: 7, text: '(UTC+07:00) Novosibirsk')
'North Asia Standard Time' - (offsetMinutes: 420, offsetHours: 7, text: '(UTC+07:00) Krasnoyarsk')
'Ulaanbaatar Standard Time' - (offsetMinutes: 480, offsetHours: 8, text: '(UTC+08:00) Ulaanbaatar')
'China Standard Time' - (offsetMinutes: 480, offsetHours: 8, text: '(UTC+08:00) Beijing, Chongqing, Hong Kong')
'Singapore Standard Time' - (offsetMinutes: 480, offsetHours: 8, text: '(UTC+08:00) Kuala Lumpur, Singapore')
'Taipei Standard Time' - (offsetMinutes: 480, offsetHours: 8, text: '(UTC+08:00) Taipei')
'W. Australia Standard Time' - (offsetMinutes: 480, offsetHours: 8, text: '(UTC+08:00) Perth')
'North Asia East Standard Time' - (offsetMinutes: 480, offsetHours: 8, text: '(UTC+08:00) Irkutsk')
'Korea Standard Time' - (offsetMinutes: 540, offsetHours: 9, text: '(UTC+09:00) Seoul')
'Tokyo Standard Time' - (offsetMinutes: 540, offsetHours: 9, text: '(UTC+09:00) Osaka, Sapporo, Tokyo')
'Yakutsk Standard Time' - (offsetMinutes: 540, offsetHours: 9, text: '(UTC+09:00) Yakutsk')
'AUS Central Standard Time' - (offsetMinutes: 570, offsetHours: 9.5, text: '(UTC+09:30) Darwin')
'Cen. Australia Standard Time' - (offsetMinutes: 570, offsetHours: 9.5, text: '(UTC+09:30) Adelaide')
'West Pacific Standard Time' - (offsetMinutes: 600, offsetHours: 10, text: '(UTC+10:00) Guam, Port Moresby')
'Tasmania Standard Time' - (offsetMinutes: 600, offsetHours: 10, text: '(UTC+10:00) Hobart')
'E. Australia Standard Time' - (offsetMinutes: 600, offsetHours: 10, text: '(UTC+10:00) Brisbane')
'AUS Eastern Standard Time' - (offsetMinutes: 600, offsetHours: 10, text: '(UTC+10:00) Canberra, Melbourne, Sydney')
'Vladivostok Standard Time' - (offsetMinutes: 600, offsetHours: 10, text: '(UTC+10:00) Vladivostok')
'Central Pacific Standard Time' - (offsetMinutes: 660, offsetHours: 11, text: '(UTC+11:00) Solomon Is., New Caledonia')
'Magadan Standard Time' - (offsetMinutes: 660, offsetHours: 11, text: '(UTC+11:00) Magadan')
'Kamchatka Standard Time' - (offsetMinutes: 720, offsetHours: 12, text: '(UTC+12:00) Petropavlovsk-Kamchatsky - Old')
'Fiji Standard Time' - (offsetMinutes: 720, offsetHours: 12, text: '(UTC+12:00) Fiji')
'New Zealand Standard Time' - (offsetMinutes: 720, offsetHours: 12, text: '(UTC+12:00) Auckland, Wellington')
'UTC+12' - (offsetMinutes: 720, offsetHours: 12, text: '(UTC+12:00) Coordinated Universal Time+12')
'Tonga Standard Time' - (offsetMinutes: 780, offsetHours: 13, text: '(UTC+13:00) Nuku\'alofa')
'Samoa Standard Time' - (offsetMinutes: 780, offsetHours: 13, text: '(UTC+13:00) Samoa')
The time zone can be changed at any time: the appointments keep their moments in time and are shown in the new zone; all-day appointments keep their dates, and blockedTimes keep their clock times. Changing it clears the undo history.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[timeZone]="'UTC'"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
touchDayNameFormat
# |
SchedulerTouchDayNameFormat
|
'abbr'
|
SchedulerTouchDayNameFormat: "shortest" | "firstTwoLetters" | "firstLetter" | "abbr" | "full"
Sets or gets the Schedulers' columns day formatting. Possible values: 'shortest', 'firstTwoLetters', 'firstLetter', 'abbr', 'full'.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[touchDayNameFormat]="'abbr'"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
toolBarRangeFormat
# |
string
|
'dd MMMM yyyy'
|
Sets or gets the toolbar's date format.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[toolBarRangeFormat]="'dd MM yyyy'"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
toolBarRangeFormatAbbr
# |
string
|
'dd MMM yyyy'
|
Sets or gets the toolbar's date format when the Scheduler's width is not enough for displaying the full format.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[toolBarRangeFormatAbbr]="'dd MM yy'"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
toolbarHeight
# |
number
|
54
|
Sets or gets the Scheduler toolbar's height.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[toolbarHeight]="60"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
undoRedo
# |
boolean
|
true
|
Sets or gets whether the scheduler records the user's changes - adding, moving, resizing, editing and deleting appointments, from the mouse, the keyboard, the edit dialog, the API or the AI module - so that the undo and redo methods and the Ctrl+Z, Ctrl+Y and Ctrl+Shift+Z keys can take them back and apply them again. setAppointmentProperty is not recorded. Undo and redo raise the same events as the change itself, with event.args.action set to 'undo' or 'redo', and appointmentAdding, appointmentChanging and appointmentDeleting can cancel them. The history is cleared when the data source is reloaded and when the property is set.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[undoRedo]="false"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
undoRedoLimit
# |
number
|
100
|
Sets or gets how many changes the undo method can take back; 0 for no limit. Setting it clears the history.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[undoRedoLimit]="20"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
views
# |
Array<any>
|
['dayView', 'weekView', 'monthView']
|
Sets or gets the Scheduler's views. Each view in the Array can be string or object. strings are: 'dayView', 'weekView', 'monthView', 'timelineDayView', 'timelineWeekView', 'timelineMonthView', 'agendaView', 'yearView', 'timelineYearView'. The 'yearView' shows the year's twelve months as small calendars, a day with appointments marked with a dot an appointment colour; clicking a day, or Enter on it, opens it in the day view - or the week, month or agenda view, whichever the Scheduler has. The arrow keys, Home, End, Page Up and Page Down move between the days. The 'timelineYearView' shows the year a column a day, under a header a month, the resources in rows. If it is an object it can have the following members:
- appointmentColumnWidth - number which defines the Appointment column width in the Agenda view.
- appointmentHeight - Sets the minimum height of an appointment in All Day Row, Month View or Timeline Views. Default is automatically calculated.
- appointmentsRenderMode - Sets the appointments rendering mode. Possible value: "exactTime". In the "exactTime" mode, appointments may render partially in the cells.
- allDayRowHeight - number which defines the all day row's height. Default is automatically calculated.
- dayViewNavigation - boolean which is taken into account in Month View. It defines whether clicking on month cell header navigates to Day View. Default is false. In the Year View, false stops a click on a day from opening it; the default is true.
- maxDots - number of dots the Year View shows at most under a day, one an appointment. Default is 3.
- days - number which defines the number of days in the Agenda view. Default is 7.
- dateColumnWidth - number which defines the Date column width in the Agenda view.
- monthRowAutoHeight - boolean which defines whether row height in month view is automatic. Default is false.
- rowHeight - number which defines the rows height in the view. Default is null.
- showWeekends - boolean which defines whether weekends will be displayed. Default is true.
- showWorkTime - boolean which defines whether the work time is displayed in Day View, Week View, Timeline Day View and Timeline Week View. Default is true.
- showWeeknumbers - boolean which defines whether the week numbers are displayed in Month View. Default is false.
- showTimeRangeStatus - boolean which defines whether the time range status of appointments which have duration >= 1 day and are not all day appointments is displayed in Month View and Day/Week views all day area.
- type - string which sets the view's type. Values: 'dayView', 'weekView', 'monthView', 'timelineDayView', 'timelineWeekView', 'timelineMonthView', 'agendaView', 'yearView', 'timelineYearView'.
- timeRuler - object which can have the following members:
- width - number which sets the width of the time ruler. Default is 60.
- hidden - Sets whether the time ruler is displayed.
- timeZones - Sets an Array of time zones. Example: [{ id: "UTC", text: "UTC" }, { id: "Pacific Standard Time", text: "PST" }].
- text - Sets the text of the time ruler column.
- scale - Sets the time ruler's scale. Values: 'hour', 'halfHour', 'quarterHour', 'tenMinutes', 'fiveMinutes'
- scaleStartHour - Sets the scale's start hour.
- scaleEndHour - Sets the scale's end hour.
- formatstring - Sets the Hours and Minutes format string. Example: "hh:mm".
- position - Sets the time ruler's position. Possible values: 'left' or 'right'.
- text - Sets the view's display text in the Scheduler's Toolbar. Default is automatically set and defined in Scheduler's localization.
- timeSlotWidth - number which defines the width of a time slot in Timeline views. The minimum value is 30.
- timeColumnWidth - number which defines the Time column width in the Agenda view.
- weekViewNavigation - boolean which is taken into account in Month View. It defines whether clicking on week number cell header navigates to Week View. Default is false.
- workTime - object which defines the Scheduler's work time. Example: { fromDayOfWeek: 1, toDayOfWeek: 5, fromHour: 7, toHour: 19 }
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
view
# |
SchedulerView
|
|
SchedulerView: "dayView" | "weekView" | "monthView" | "timelineDayView" | "timelineWeekView" | "timelineMonthView" | "agendaView" | "yearView" | "timelineYearView"
Sets or gets the Scheduler's view. Possible vales: 'dayView', 'weekView', 'monthView', 'timelineDayView', 'timelineWeekView', 'timelineMonthView', 'agendaView', 'yearView' and 'timelineYearView' or the view's Index in the views object. A view the views Array does not have leaves the view as it is.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
width
# |
number | string
|
800
|
Sets or gets the Scheduler's width.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
[width]="600"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
}
|
|
|
|
scheduleraiResult
# |
Event
|
|
This event is triggered when an AI method completes. event.args is { type, result }: type is 'command' (aiCommand), 'schedule' (aiScheduleAppointment), 'findSlot', 'book' (aiBookSlot), 'conflicts' (aiResolveConflicts), 'resolve' (aiApplyResolution), 'ask', 'summary', 'explain' (aiExplainAppointment) or 'classify' (aiClassifyAppointments), and result is what the method returns or its Promise resolves to (for 'book', { appointment }; for 'resolve', { applied }). Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
Code examples #
Bind to the scheduleraiResult event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onScheduleraiResult)="onScheduleraiResult($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onScheduleraiResult(e: Event): void {
alert('do something...');
}
}
|
|
scheduleraiError
# |
Event
|
|
This event is triggered when an AI request fails: the AI is not configured, the provider (or your aiSendRequest) returns an error, or the network fails. event.args is { error, message }: the Error and its message. The method's Promise rejects with the same error and its callback is called with it. A reply the Scheduler cannot use (an appointment without valid dates, for example) only rejects the Promise, without this event. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component has no onScheduleraiError output. Handle failed AI requests with the Promise the method returns, or its callback. The AI module is imported as for aiConfig.
this.myScheduler().aiAsk('What is booked on Friday?')
.then((result: { answer: string }) => console.log(result.answer))
.catch((error: Error) => console.error(error.message));
|
|
appointmentChange
# |
Event
|
|
This event is triggered when an appointment is changed. event.args contains the event's arguments. This event has one argument: appointment - object which has the appointmentDataFields. See appointmentDataFields property. When undo or redo caused it, event.args.action is 'undo' or 'redo'.
Code examples #
Bind to the appointmentChange event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onAppointmentChange)="onAppointmentChange($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onAppointmentChange(e: Event): void {
alert('do something...');
}
}
|
|
appointmentClick
# |
Event
|
|
This event is triggered when an appointment is clicked. event.args contains the event's arguments. This event has one argument: appointment - object which has the appointmentDataFields. See appointmentDataFields property. For an occurrence of a recurring appointment, appointment is the series and occurrence is the occurrence that was clicked, with its own from and to; for other appointments occurrence is null.
Code examples #
Bind to the appointmentClick event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onAppointmentClick)="onAppointmentClick($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onAppointmentClick(e: Event): void {
alert('do something...');
}
}
|
|
appointmentDoubleClick
# |
Event
|
|
This event is triggered when an appointment is double clicked. event.args contains the event's arguments. This event has one argument: appointment - object which has the appointmentDataFields. See appointmentDataFields property. For an occurrence of a recurring appointment, appointment is the series and occurrence is the occurrence that was double-clicked, with its own from and to; for other appointments occurrence is null.
Code examples #
Bind to the appointmentDoubleClick event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onAppointmentDoubleClick)="onAppointmentDoubleClick($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onAppointmentDoubleClick(e: Event): void {
alert('do something...');
}
}
|
|
appointmentDelete
# |
Event
|
|
This event is triggered when an appointment is deleted. event.args contains the event's arguments. This event has one argument: appointment - object which has the appointmentDataFields. See appointmentDataFields property. When undo or redo caused it, event.args.action is 'undo' or 'redo'. It is raised once the appointment has been removed, so getAppointments no longer lists it.
Code examples #
Bind to the appointmentDelete event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onAppointmentDelete)="onAppointmentDelete($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onAppointmentDelete(e: Event): void {
alert('do something...');
}
}
|
|
appointmentAdd
# |
Event
|
|
This event is triggered when an appointment is added. event.args contains the event's arguments. This event has one argument: appointment - object which has the appointmentDataFields. See appointmentDataFields property. When undo or redo caused it, event.args.action is 'undo' or 'redo'.
Code examples #
Bind to the appointmentAdd event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onAppointmentAdd)="onAppointmentAdd($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onAppointmentAdd(e: Event): void {
alert('do something...');
}
}
|
|
appointmentAdding
# |
Event
|
|
This event is triggered before an appointment is added - from the edit dialog, the addAppointment method or the AI module - and can cancel it. event.args contains the event's arguments: appointment - the appointment that is about to be added, an object which has the appointmentDataFields (see appointmentDataFields property); action - 'add'. To cancel, set event.cancel or event.args.cancel to true, or return false. A cancelled appointment is not added, appointmentAdd is not raised, the edit dialog stays open and addAppointment returns false. When blockedTimes or allowOverlap: false do not allow the appointment, event.args.cancel is already true and event.args.reason is { type, message, ... }; setting event.args.cancel to false allows it all the same. A reason with a message - including one a handler sets - is shown in the edit dialog.
Code examples #
Bind to the appointmentAdding event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onAppointmentAdding)="onAppointmentAdding($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onAppointmentAdding(e: Event): void {
alert('do something...');
}
}
|
|
appointmentChanging
# |
Event
|
|
This event is triggered before an appointment is changed - by dragging or resizing it with the mouse or the keyboard, by the edit dialog, or by the moveAppointment method - and can cancel the change. event.args contains the event's arguments: appointment - the appointment with its new values; oldAppointment - the appointment with its current values (both are objects which have the appointmentDataFields, see appointmentDataFields property); action - 'move', 'resize' or 'edit'. To cancel, set event.cancel or event.args.cancel to true, or return false. A cancelled change leaves the appointment as it was and appointmentChange is not raised; a dragged appointment goes back to its place and the edit dialog stays open. When blockedTimes or allowOverlap: false do not allow the appointment, event.args.cancel is already true and event.args.reason is { type, message, ... }; setting event.args.cancel to false allows it all the same. A reason with a message - including one a handler sets - is shown in the edit dialog.
Code examples #
Bind to the appointmentChanging event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onAppointmentChanging)="onAppointmentChanging($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onAppointmentChanging(e: Event): void {
alert('do something...');
}
}
|
|
appointmentDeleting
# |
Event
|
|
This event is triggered before an appointment is deleted - from the edit dialog or by the deleteAppointment method - and can cancel it. event.args contains the event's arguments: appointment - the appointment that is about to be deleted, an object which has the appointmentDataFields (see appointmentDataFields property); action - 'delete'. To cancel, set event.cancel or event.args.cancel to true, or return false. A cancelled appointment is kept, appointmentDelete is not raised, the edit dialog stays open and deleteAppointment returns false.
Code examples #
Bind to the appointmentDeleting event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onAppointmentDeleting)="onAppointmentDeleting($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onAppointmentDeleting(e: Event): void {
alert('do something...');
}
}
|
|
undoRedoChange
# |
Event
|
|
This event is triggered when what can be undone or redone changes: a change is recorded, undo or redo is called, or the history is cleared. event.args contains canUndo and canRedo.
Code examples #
Bind to the undoRedoChange event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onUndoRedoChange)="onUndoRedoChange($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onUndoRedoChange(e: Event): void {
alert('do something...');
}
}
|
|
bindingComplete
# |
Event
|
|
This event is triggered when the binding is completed.
Code examples #
Bind to the bindingComplete event of jqxScheduler.
<jqxScheduler (onBindingComplete)="onBindingComplete($event)"></jqxScheduler>
|
|
cellClick
# |
Event
|
|
This event is triggered when a cell is clicked. event.args contains the event's arguments. This event has two arguments: cell - TD HTML Element. date - jqxDate object.
Code examples #
Bind to the cellClick event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onCellClick)="onCellClick($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onCellClick(e: Event): void {
alert('do something...');
}
}
|
|
cellDoubleClick
# |
Event
|
|
This event is triggered when a cell is double clicked. event.args contains the event's arguments. This event has two arguments: cell - TD HTML Element. date - jqxDate object.
Code examples #
Bind to the cellDoubleClick event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onCellDoubleClick)="onCellDoubleClick($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onCellDoubleClick(e: Event): void {
alert('do something...');
}
}
|
This event is triggered when the context menu is opened. Event Arguments:
- menu - jQuery object which represents the jqxMenu.
- appointment - object which has the appointmentDataFields. See appointmentDataFields property. The value is null when the menu is opened from cells selection.
Code examples #
Bind to the contextMenuOpen event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onContextMenuOpen)="onContextMenuOpen($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onContextMenuOpen(e: Event): void {
alert('do something...');
}
}
|
This event is triggered when the context menu is closed. Event Arguments:
- menu - jQuery object which represents the jqxMenu.
- appointment - object which has the appointmentDataFields. See appointmentDataFields property. The value is null when the menu is opened from cells selection.
Code examples #
Bind to the contextMenuClose event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onContextMenuClose)="onContextMenuClose($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onContextMenuClose(e: Event): void {
alert('do something...');
}
}
|
This event is triggered when the context menu item is clicked. Event Arguments:
- menu - jQuery object which represents the jqxMenu.
- appointment - object which has the appointmentDataFields. See appointmentDataFields property. The value is null when the menu is opened from cells selection.
- item - the clicked menu item.
Code examples #
Bind to the contextMenuItemClick event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onContextMenuItemClick)="onContextMenuItemClick($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onContextMenuItemClick(e: Event): void {
alert('do something...');
}
}
|
This event is triggered when the context menu item is created. Event Arguments:
- menu - jQuery object which represents the jqxMenu.
- appointment - object which has the appointmentDataFields. See appointmentDataFields property. The value is null when the menu is opened from cells selection.
Code examples #
Bind to the contextMenuCreate event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onContextMenuCreate)="onContextMenuCreate($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onContextMenuCreate(e: Event): void {
alert('do something...');
}
}
|
|
dateChange
# |
Event
|
|
This event is triggered when the date is changed. This event has three arguments: date, from and to - jqxDate objects.
Code examples #
Bind to the dateChange event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onDateChange)="onDateChange($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onDateChange(e: Event): void {
alert('do something...');
}
}
|
|
editRecurrenceDialogOpen
# |
Event
|
|
This event is triggered when the recurrence dialog is opened. Event Arguments:
- dialog - jQuery object which represents the jqxWindow.
- appointment - object which has the appointmentDataFields. See appointmentDataFields property. The value is null when the menu is opened from cells selection.
Code examples #
Bind to the editRecurrenceDialogOpen event of jqxScheduler.
<jqxScheduler (onEditRecurrenceDialogOpen)="onEditRecurrenceDialogOpen($event)"></jqxScheduler>
|
|
editRecurrenceDialogClose
# |
Event
|
|
This event is triggered when the recurrence dialog is closed. Event Arguments:
- dialog - jQuery object which represents the jqxWindow.
- appointment - object which has the appointmentDataFields. See appointmentDataFields property. The value is null when the menu is opened from cells selection.
Code examples #
Bind to the editRecurrenceDialogClose event of jqxScheduler.
<jqxScheduler (onEditRecurrenceDialogClose)="onEditRecurrenceDialogClose($event)"></jqxScheduler>
|
|
editDialogCreate
# |
Event
|
|
This event is triggered when the edit dialog is created. Event Arguments:
- dialog - jQuery object which represents the jqxWindow.
- appointment - object which has the appointmentDataFields. See appointmentDataFields property. The value is null when the menu is opened from cells selection.
- fields - object with the following members:
- subject - Subject input field.
- subjectLabel - Subject label.
- subjectContainer - Input and label HTML div container element.
- location - Location input field.
- locationLabel - Location label.
- locationContainer - Input and label HTML div container element.
- from - From datetime input field.
- fromLabel - From label.
- fromContainer - Input and label HTML div container element.
- to - To Datetimeinput field.
- toLabel - To label.
- toContainer - Input and label HTML div container element.
- allDay - AllDay checkbox field.
- allDayLabel - AllDay label.
- allDayContainer - Checkbox and label HTML div container element.
- timeZone - Timezone DropDownList field.
- timeZoneLabel - TimeZone label.
- timeZoneContainer - DropDownList and label HTML div container element.
- description - Description input field.
- descriptionLabel - Description label.
- descriptionContainer - Input and label HTML div container element.
- color - Color DropDownList field.
- colorLabel - Subject label.
- colorContainer - DropDownList and label container element.
- status - Status DropDownList field.
- statusLabel - Status label.
- statustContainer - DropDownList and label container element.
- resource - Resource DropDownList field.
- resourceLabel - Resource label.
- resourceContainer - DropDownList and label container element.
- buttonsField - buttons HTML div container HTML Element.
- saveButton - Save button.
- deleteButton - Delete button.
- cancelButton - Cancel button.
- daily.repeatDayInterval - numberInput for daily repeat pattern.
- daily.repeatDayLabel - Label HTML Element.
- daily.panel - Daily repeat pattern HTML div container element.
- weekly.repeatWeekInterval - numberInput for weekly repeat pattern.
- weekly.repeatWeekIntervalLabel - Label element.
- weekly.repeatDaysLabel - Label element.
- weekly.repeatDays - Array of Checkboxes.
- weekly.panel - Weekly repeat pattern HTML div container element.
- monthly.repeatMonth - numberInput for monthly repeat pattern.
- monthly.repeatMonthLabel - Label element.
- monthly.repeatMonthDay - numberInput for the month day in the pattern.
- monthly.repeatMonthDayBool - RadioButton element.
- monthly.repeatMonthDayLabel - Label element.
- monthly.repeatDayOfWeekBool - RadioButton element.
- monthly.repeatDayOfWeek - DropDownList element.
- monthly.repeatDayOfWeekLabel - Label element.
- monthly.repeatDayOfWeekType - DropDownList element.
- monthly.panel - Monthly repeat pattern HTML div container element.
- yearly.repeatYear - numberInput for yearly repeat pattern.
- yearly.repeatYearLabel - Label element.
- yearly.repeatYearBool - RadioButton element.
- yearly.repeatYearBoolLabel - Label element.
- yearly.repeatYearMonth - DropDownList element.
- yearly.repeatYearDay - numberInput element.
- yearly.repeatDayOfWeekBool - RadioButton element.
- yearly.repeatDayOfWeekType - DropDownList element.
- yearly.repeatDayOfWeekLabel - Label element.
- yearly.repeatDayOfWeekMonth - DropDownList element.
- yearly.panel - Yearly repeat pattern HTML div container element.
- resetExceptions - Checkbox element.
- resetExceptionsLabel - Label element.
- resetExceptionsContainer - Checkbox and Label container element.
- repeat - DropDownList element.
- repeatLabel - Label element.
- repeatContainer - DropDownList and Label container element.
- repeatPanel - HTML div container element for repeat patterns.
- repeatEndPanelContainer - HTML div container element for the repeat pattern's end.
- repeatEndPanel.repeatEndNever - RadioButton element.
- repeatEndPanel.repeatEndNeverLabel - Label element.
- repeatEndPanel.repeatEndAfter - RadioButton element.
- repeatEndPanel.repeatEndAfterValue - numberInput element.
- repeatEndPanel.repeatEndAfterLabel - Label element.
- repeatEndPanel.repeatEndOn - RadioButton element.
- repeatEndPanel.repeatEndOnValue - DateTimeInput element.
- repeatEndPanel.repeatEndOnLabel - Label element.
Code examples #
Bind to the editDialogCreate event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onEditDialogCreate)="onEditDialogCreate($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onEditDialogCreate(e: Event): void {
alert('do something...');
}
}
|
|
editDialogOpen
# |
Event
|
|
This event is triggered when the edit dialog is opened. Event Arguments:
- dialog - jQuery object which represents the jqxWindow.
- appointment - object which has the appointmentDataFields. See appointmentDataFields property. The value is null when the menu is opened from cells selection.
- fields - object with the following members:
- subject - Subject input field.
- subjectLabel - Subject label.
- subjectContainer - Input and label HTML div container element.
- location - Location input field.
- locationLabel - Location label.
- locationContainer - Input and label HTML div container element.
- from - From datetime input field.
- fromLabel - From label.
- fromContainer - Input and label HTML div container element.
- to - To Datetimeinput field.
- toLabel - To label.
- toContainer - Input and label HTML div container element.
- allDay - AllDay checkbox field.
- allDayLabel - AllDay label.
- allDayContainer - Checkbox and label HTML div container element.
- timeZone - Timezone DropDownList field.
- timeZoneLabel - TimeZone label.
- timeZoneContainer - DropDownList and label HTML div container element.
- description - Description input field.
- descriptionLabel - Description label.
- descriptionContainer - Input and label HTML div container element.
- color - Color DropDownList field.
- colorLabel - Subject label.
- colorContainer - DropDownList and label container element.
- status - Status DropDownList field.
- statusLabel - Status label.
- statustContainer - DropDownList and label container element.
- resource - Resource DropDownList field.
- resourceLabel - Resource label.
- resourceContainer - DropDownList and label container element.
- buttonsField - buttons HTML div container HTML Element.
- saveButton - Save button.
- deleteButton - Delete button.
- cancelButton - Cancel button.
- daily.repeatDayInterval - numberInput for daily repeat pattern.
- daily.repeatDayLabel - Label HTML Element.
- daily.panel - Daily repeat pattern HTML div container element.
- weekly.repeatWeekInterval - numberInput for weekly repeat pattern.
- weekly.repeatWeekIntervalLabel - Label element.
- weekly.repeatDaysLabel - Label element.
- weekly.repeatDays - Array of Checkboxes.
- weekly.panel - Weekly repeat pattern HTML div container element.
- monthly.repeatMonth - numberInput for monthly repeat pattern.
- monthly.repeatMonthLabel - Label element.
- monthly.repeatMonthDay - numberInput for the month day in the pattern.
- monthly.repeatMonthDayBool - RadioButton element.
- monthly.repeatMonthDayLabel - Label element.
- monthly.repeatDayOfWeekBool - RadioButton element.
- monthly.repeatDayOfWeek - DropDownList element.
- monthly.repeatDayOfWeekLabel - Label element.
- monthly.repeatDayOfWeekType - DropDownList element.
- monthly.panel - Monthly repeat pattern HTML div container element.
- yearly.repeatYear - numberInput for yearly repeat pattern.
- yearly.repeatYearLabel - Label element.
- yearly.repeatYearBool - RadioButton element.
- yearly.repeatYearBoolLabel - Label element.
- yearly.repeatYearMonth - DropDownList element.
- yearly.repeatYearDay - numberInput element.
- yearly.repeatDayOfWeekBool - RadioButton element.
- yearly.repeatDayOfWeekType - DropDownList element.
- yearly.repeatDayOfWeekLabel - Label element.
- yearly.repeatDayOfWeekMonth - DropDownList element.
- yearly.panel - Yearly repeat pattern HTML div container element.
- resetExceptions - Checkbox element.
- resetExceptionsLabel - Label element.
- resetExceptionsContainer - Checkbox and Label container element.
- repeat - DropDownList element.
- repeatLabel - Label element.
- repeatContainer - DropDownList and Label container element.
- repeatPanel - HTML div container element for repeat patterns.
- repeatEndPanelContainer - HTML div container element for the repeat pattern's end.
- repeatEndPanel.repeatEndNever - RadioButton element.
- repeatEndPanel.repeatEndNeverLabel - Label element.
- repeatEndPanel.repeatEndAfter - RadioButton element.
- repeatEndPanel.repeatEndAfterValue - numberInput element.
- repeatEndPanel.repeatEndAfterLabel - Label element.
- repeatEndPanel.repeatEndOn - RadioButton element.
- repeatEndPanel.repeatEndOnValue - DateTimeInput element.
- repeatEndPanel.repeatEndOnLabel - Label element.
Code examples #
Bind to the editDialogOpen event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onEditDialogOpen)="onEditDialogOpen($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onEditDialogOpen(e: Event): void {
alert('do something...');
}
}
|
|
editDialogClose
# |
Event
|
|
This event is triggered when the edit dialog is closed. Event Arguments:
- dialog - jQuery object which represents the jqxWindow.
- appointment - object which has the appointmentDataFields. See appointmentDataFields property. The value is null when the menu is opened from cells selection.
- fields - object with the following members:
- subject - Subject input field.
- subjectLabel - Subject label.
- subjectContainer - Input and label HTML div container element.
- location - Location input field.
- locationLabel - Location label.
- locationContainer - Input and label HTML div container element.
- from - From datetime input field.
- fromLabel - From label.
- fromContainer - Input and label HTML div container element.
- to - To Datetimeinput field.
- toLabel - To label.
- toContainer - Input and label HTML div container element.
- allDay - AllDay checkbox field.
- allDayLabel - AllDay label.
- allDayContainer - Checkbox and label HTML div container element.
- timeZone - Timezone DropDownList field.
- timeZoneLabel - TimeZone label.
- timeZoneContainer - DropDownList and label HTML div container element.
- description - Description input field.
- descriptionLabel - Description label.
- descriptionContainer - Input and label HTML div container element.
- color - Color DropDownList field.
- colorLabel - Subject label.
- colorContainer - DropDownList and label container element.
- status - Status DropDownList field.
- statusLabel - Status label.
- statustContainer - DropDownList and label container element.
- resource - Resource DropDownList field.
- resourceLabel - Resource label.
- resourceContainer - DropDownList and label container element.
- buttonsField - buttons HTML div container HTML Element.
- saveButton - Save button.
- deleteButton - Delete button.
- cancelButton - Cancel button.
- daily.repeatDayInterval - numberInput for daily repeat pattern.
- daily.repeatDayLabel - Label HTML Element.
- daily.panel - Daily repeat pattern HTML div container element.
- weekly.repeatWeekInterval - numberInput for weekly repeat pattern.
- weekly.repeatWeekIntervalLabel - Label element.
- weekly.repeatDaysLabel - Label element.
- weekly.repeatDays - Array of Checkboxes.
- weekly.panel - Weekly repeat pattern HTML div container element.
- monthly.repeatMonth - numberInput for monthly repeat pattern.
- monthly.repeatMonthLabel - Label element.
- monthly.repeatMonthDay - numberInput for the month day in the pattern.
- monthly.repeatMonthDayBool - RadioButton element.
- monthly.repeatMonthDayLabel - Label element.
- monthly.repeatDayOfWeekBool - RadioButton element.
- monthly.repeatDayOfWeek - DropDownList element.
- monthly.repeatDayOfWeekLabel - Label element.
- monthly.repeatDayOfWeekType - DropDownList element.
- monthly.panel - Monthly repeat pattern HTML div container element.
- yearly.repeatYear - numberInput for yearly repeat pattern.
- yearly.repeatYearLabel - Label element.
- yearly.repeatYearBool - RadioButton element.
- yearly.repeatYearBoolLabel - Label element.
- yearly.repeatYearMonth - DropDownList element.
- yearly.repeatYearDay - numberInput element.
- yearly.repeatDayOfWeekBool - RadioButton element.
- yearly.repeatDayOfWeekType - DropDownList element.
- yearly.repeatDayOfWeekLabel - Label element.
- yearly.repeatDayOfWeekMonth - DropDownList element.
- yearly.panel - Yearly repeat pattern HTML div container element.
- resetExceptions - Checkbox element.
- resetExceptionsLabel - Label element.
- resetExceptionsContainer - Checkbox and Label container element.
- repeat - DropDownList element.
- repeatLabel - Label element.
- repeatContainer - DropDownList and Label container element.
- repeatPanel - HTML div container element for repeat patterns.
- repeatEndPanelContainer - HTML div container element for the repeat pattern's end.
- repeatEndPanel.repeatEndNever - RadioButton element.
- repeatEndPanel.repeatEndNeverLabel - Label element.
- repeatEndPanel.repeatEndAfter - RadioButton element.
- repeatEndPanel.repeatEndAfterValue - numberInput element.
- repeatEndPanel.repeatEndAfterLabel - Label element.
- repeatEndPanel.repeatEndOn - RadioButton element.
- repeatEndPanel.repeatEndOnValue - DateTimeInput element.
- repeatEndPanel.repeatEndOnLabel - Label element.
Code examples #
Bind to the editDialogClose event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onEditDialogClose)="onEditDialogClose($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onEditDialogClose(e: Event): void {
alert('do something...');
}
}
|
|
viewChange
# |
Event
|
|
This event is triggered when the view type is changed. This event has five arguments: date, from and to - jqxDate objects, oldViewType and newViewType - strings.
Code examples #
Bind to the viewChange event of jqxScheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
(onViewChange)="onViewChange($event)"
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
}
public onViewChange(e: Event): void {
alert('do something...');
}
}
|
|
|
| Name | Arguments | Return Type |
|
aiConfig
# |
config
|
|
Sets AI settings at run time. They take precedence over the ai* properties, and each call merges into the settings of the earlier ones. The keys are provider, apiKey, model, proxyUrl, headers, sendRequest and maxRows (as the properties aiProvider, aiKey, aiModel, aiProxyUrl, aiHeaders, aiSendRequest and aiMaxRows), and maxTokens, the reply length limit sent to the provider (1024 by default), which has no property. Returns the settings made with aiConfig so far (not the ai* properties). Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiConfig({ provider: 'anthropic', proxyUrl: '/api/ai' });
}
}
|
|
aiCommand
# |
text, callback
|
|
Turns a plain-language request into a search: it shows only the appointments that match and hides the others (a request such as "show all appointments" clears the search). The model answers with filters on subject, location, description, resourceId and status (CONTAINS, EQUAL, NOT_EQUAL) and a date range; resources and statuses the Scheduler does not have are dropped. Returns a Promise that resolves to { spec, applied, query }: the filter the model returned, a list of the conditions applied (or 'cleared'), and the request. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiCommand('Show only the appointments in Room 1');
}
}
|
|
aiScheduleAppointment
# |
text, callback
|
|
Creates an appointment from a plain-language request ("lunch with Anna tomorrow at noon"). The model answers with the subject, description, location, start and end, resource, status and allDay; the subject and valid start and end dates are required, and unknown resources and statuses are dropped. The appointment is added with addAppointment, so an appointmentAdding handler can cancel it. Returns a Promise that resolves to { appointment, query }, where appointment has subject, description, location, from, to, resourceId, status and allDay. It rejects, without a scheduleraiError event, when the reply is not a valid appointment or the add is cancelled. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiScheduleAppointment('Lunch with Anna tomorrow at noon for an hour');
}
}
|
|
aiFindSlot
# |
text, callback
|
|
Finds open time slots from a plain-language request ("a free hour in Room 1 tomorrow afternoon"). The model only turns the request into a query (duration, resource, date window, working hours, days of the week, how many); the slots are then worked out from the live appointments, so they are really free. Returns a Promise that resolves to { slots, query, request, subject }: slots is an array of { from, to, resourceId } (5 by default), query the query used, and subject the title the request named, if any. Book a slot with aiBookSlot. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiFindSlot('A free hour for a meeting next Tuesday afternoon');
}
}
|
|
aiBookSlot
# |
slot, details
|
|
Books a slot returned by aiFindSlot as an appointment (with addAppointment), with the details given: subject ('Meeting' by default), description, location, status and resourceId (the slot's by default). It sends no AI request and returns the new appointment (subject, description, location, from, to, resourceId, status, allDay) at once, not a Promise. It throws an Error when the slot is not valid or an appointmentAdding handler cancels the add. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2018, 10, 20, 9, 0, 0),
end: new Date(2018, 10, 20, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2018, 10, 21, 10, 0, 0),
end: new Date(2018, 10, 21, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2018, 10, 22, 11, 0, 0),
end: new Date(2018, 10, 22, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2018, 11, 23);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiBookSlot(
{ from: new Date(2026, 10, 3, 14), to: new Date(2026, 10, 3, 15) },
{ subject: 'Design review' }
);
}
}
|
|
aiResolveConflicts
# |
options, callback
|
|
Finds double-bookings (overlapping appointments of the same resource) and proposes, for the later appointment of each pair, the first free slot of the same length in the next 14 days within working hours. It sends no AI request: the proposals come from the live calendar. options: resourceId (check one resource only), workingStart and workingEnd (hours, 9 and 17 by default). Returns a Promise that resolves to { conflicts, proposals }: the number of conflicts, and an array of { id, subject, resourceId, conflictsWith, currentFrom, currentTo, proposedFrom, proposedTo }. Apply them with aiApplyResolution. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiResolveConflicts();
}
}
|
|
aiApplyResolution
# |
proposals
|
|
Moves the appointments to the times proposed by aiResolveConflicts. Each move raises appointmentChanging, which can cancel it, and then appointmentChange, and all the moves are one step for undo. Returns the number of appointments moved. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2018, 10, 20, 9, 0, 0),
end: new Date(2018, 10, 20, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2018, 10, 21, 10, 0, 0),
end: new Date(2018, 10, 21, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2018, 10, 22, 11, 0, 0),
end: new Date(2018, 10, 22, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2018, 11, 23);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiApplyResolution([
{
id: 'id1',
proposedFrom: new Date(2026, 10, 3, 16),
proposedTo: new Date(2026, 10, 3, 17)
}
]);
}
}
|
|
aiAsk
# |
text, callback
|
|
Answers a plain-language question about the calendar. The model is shown the first aiMaxRows visible appointments and totals over the visible ones: their number, the count per status and per resource, and the date range. Returns a Promise that resolves to { answer, query }. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiAsk('How many appointments are there next week?');
}
}
|
|
aiSummarize
# |
callback
|
|
Sums up the selected appointment or, when none is selected, the first aiMaxRows visible appointments in a few sentences. Returns a Promise that resolves to { summary, count }, where count is the number of appointments summarized. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiSummarize();
}
}
|
|
aiExplainAppointment
# |
key, callback
|
|
Explains one appointment in a few sentences, against the totals of the calendar (conflicts, long duration, off-hours, no resource). Returns a Promise that resolves to { key, explanation }. It rejects, without a request, when there is no appointment with this key. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiExplainAppointment('id1');
}
}
|
|
aiClassifyAppointments
# |
options, callback
|
|
Labels the first aiMaxRows visible appointments with the model and writes each label to an appointment property of your choice, with setAppointmentProperty. options: datafield (required; your own property, not a built-in one such as subject, from or status), instruction (what to label, optional) and categories (the labels allowed, optional array). Returns a Promise that resolves to { datafield, written }, where written is the number of appointments labelled. It rejects, without a request, when datafield is missing or built in. Part of the jqxscheduler.ai.js module.
Angular (27.1.0): the jqxScheduler component does not load the AI module: import jqwidgets-ng/jqwidgets/jqxwidgets.ai.js and jqwidgets-ng/jqwidgets/jqxscheduler.ai.js after the component, and configure it with aiConfig (the component has no AI inputs).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().aiClassifyAppointments({
datafield: 'category',
categories: ['Work', 'Personal']
});
}
}
|
|
addAppointment
# |
item
|
|
Adds a new appointment. Returns false when an appointmentAdding handler cancels it, otherwise true.
|
|
beginAppointmentsUpdate
# |
None
|
|
Begins an update process and stops the Scheduler's rendering and appointments rendering.
|
|
clearAppointmentsSelection
# |
None
|
|
Clears the appointments selection.
|
|
clearSelection
# |
None
|
|
|
|
|
|
|
closeDialog
# |
None
|
|
|
|
|
deleteAppointment
# |
appointmenId
|
|
Deletes an appointment. Returns false when there is no appointment with this id or an appointmentDeleting handler cancels the deletion, otherwise true.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().deleteAppointment('id1');
}
}
|
|
destroy
# |
None
|
|
Destroys the Scheduler and removes it from the DOM.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().destroy();
}
}
|
|
endAppointmentsUpdate
# |
None
|
|
Ends the update process and resumes the Scheduler's rendering. The method works together with the beginAppointmentsUpdate.
|
|
ensureAppointmentVisible
# |
id
|
|
Scrolls to an appointment if it is out of the visible area.
|
|
ensureVisible
# |
item, resourceId
|
|
|
|
|
findAvailableSlots
# |
options
|
|
Returns free times for a new appointment, earliest first: [{ from, to, resourceId }], from and to as $.jqx.date values. A time is free when no appointment of the resource - the occurrences of recurring appointments included, appointments with the status 'free' not - and no blocked time is in it. options: duration - minutes (30); from, to - where to look, Dates, strings or $.jqx.date values (the dates in view); resourceId - one resource or an array of them (every resource); workTime - { fromDayOfWeek, toDayOfWeek, fromHour, toHour } (the view's work time, or Monday to Friday 8:00 - 18:00), null to look at whole days; step - minutes between the times tried (the view's scale); maxSlots - how many to return (10).
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().findAvailableSlots();
}
}
|
|
importData
# |
data, options
|
|
Adds the events of an iCalendar text - an .ics file from Google Calendar, Outlook, Apple Calendar, Thunderbird or exportData('ics') - as appointments. Times with a TZID are read in that time zone (Windows and IANA names, or the calendar's VTIMEZONE), UTC and floating times as such, and dates as all-day appointments. RRULE and EXDATE make a recurring appointment; an event with a RECURRENCE-ID becomes an appointment of its own and takes its occurrence out of the series. STATUS, TRANSP and Outlook's X-MICROSOFT-CDO-BUSYSTATUS give the status; cancelled events are skipped. An event whose UID is the id of an appointment updates it, so importing a calendar again does not duplicate it; otherwise the UID becomes the new appointment's id. Each appointment raises appointmentAdding / appointmentChanging with action 'import', which can cancel it, and the whole import is one step for undo. The optional options object takes resourceId, the resource for every imported appointment (by default the event's RESOURCES). Returns { added: [], updated: [], skipped: [{ uid, reason }] }.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2018, 10, 20, 9, 0, 0),
end: new Date(2018, 10, 20, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2018, 10, 21, 10, 0, 0),
end: new Date(2018, 10, 21, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2018, 10, 22, 11, 0, 0),
end: new Date(2018, 10, 22, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2018, 11, 23);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().importData(
'BEGIN:VCALENDAR\nBEGIN:VEVENT\nUID:review-1\nSUMMARY:Design review\nDTSTART:20261103T140000\nDTEND:20261103T150000\nEND:VEVENT\nEND:VCALENDAR'
);
}
}
|
|
exportData
# |
format
|
|
Exports jqxScheduler's data to ICS, Excel, HTML, XML, JSON, CSV or TSV. See also the exportSettings property
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().exportData('xls');
}
}
|
|
focus
# |
None
|
|
Focuses the Scheduler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().focus();
}
}
|
|
getAppointmentProperty
# |
appointmentId, name
|
|
Gets the value of an Appointment property.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().getAppointmentProperty('id1', 'subject');
}
}
|
|
getSelection
# |
None
|
|
Gets the cells selection. Returns an object with the following members:
- from - jqxDate which represents the selection's start.
- to - jqxDate which represents the selection's end.
- resourceId - selection's resource Id if resources are enabled.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().getSelection();
}
}
|
|
getAppointments
# |
None
|
|
Gets the appointments loaded in jqxScheduler. The return value is an Array of objects. Each object has the appointmentDataFields. See appointmentDataFields property.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().getAppointments();
}
}
|
|
getDataAppointments
# |
None
|
|
Gets the appointments loaded in jqxScheduler. The return value is an Array of objects. Each object has the fields defined in the dataAdapter's source object.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().getDataAppointments();
}
}
|
|
hideAppointmentsByResource
# |
resourcesId
|
|
Hides appointments by given resourceId.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().hideAppointmentsByResource('Room 1');
}
}
|
|
|
|
openDialog
# |
left, top
|
|
|
|
|
selectAppointment
# |
appointmentId
|
|
Selects an appointment.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().selectAppointment('id1');
}
}
|
|
setAppointmentProperty
# |
appointmentId, name, value
|
|
Sets the value of an appointment's property. The from and to properties also accept a Date or a date string, read like the dates of the data source. The change does not raise appointmentChanging or appointmentChange.
|
|
selectCell
# |
date, allday, resourceId
|
|
Selects a cell.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().selectCell(new jqx.date(2026, 11, 20), false, null);
}
}
|
|
showAppointmentsByResource
# |
resourceId
|
|
Shows appointments by given resourceId.
|
|
scrollWidth
# |
None
|
|
Returns the scrollable width.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().scrollWidth();
}
}
|
|
scrollHeight
# |
None
|
|
Returns the scrollable height.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().scrollHeight();
}
}
|
|
scrollLeft
# |
left
|
|
Scrolls horizontally to a given position.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().scrollLeft(0);
}
}
|
|
scrollTop
# |
top
|
|
Scrolls vertically to a given position.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().scrollTop(10);
}
}
|
|
scrollToTime
# |
time
|
|
Scrolls the day or week view so that a time of day is at its top, for example the start of the working day. The time is hours (8, 13.5), a "HH:mm" string, or a Date or jqxDate of which only the time counts. Returns false in the other views, or when the time is not in the view's time ruler.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().scrollToTime(8);
}
}
|
|
undo
# |
None
|
|
Takes back the last recorded change. Returns true, or false when there is nothing to undo or an appointmentAdding, appointmentChanging or appointmentDeleting handler cancels it. See the undoRedo property.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().undo();
}
}
|
|
redo
# |
None
|
|
Applies again the last change that undo took back. Returns true, or false when there is nothing to redo or a handler cancels it. A new change clears what there is to redo.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().redo();
}
}
|
|
canUndo
# |
None
|
|
Returns whether there is a change to undo.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().canUndo();
}
}
|
|
canRedo
# |
None
|
|
Returns whether there is a change to redo.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().canRedo();
}
}
|
|
clearUndoRedo
# |
None
|
|
Clears the history of changes, for example after the changes are saved.
import { Component, viewChild } from '@angular/core';
import { jqxSchedulerComponent, jqxSchedulerModule } from 'jqwidgets-ng/jqxscheduler';
const appointments = new Array();
const appointment1 = {
id: 'id1',
description: 'George brings projector for presentations.',
subject: 'Quarterly Project Review Meeting',
calendar: 'Room 1',
start: new Date(2026, 10, 17, 9, 0, 0),
end: new Date(2026, 10, 17, 16, 0, 0)
};
const appointment2 = {
id: 'id2',
subject: 'IT Group Mtg.',
calendar: 'Room 2',
start: new Date(2026, 10, 18, 10, 0, 0),
end: new Date(2026, 10, 18, 15, 0, 0)
};
const appointment3 = {
id: 'id3',
subject: 'Course Social Media',
calendar: 'Room 3',
start: new Date(2026, 10, 19, 11, 0, 0),
end: new Date(2026, 10, 19, 13, 0, 0)
};
appointments.push(appointment1);
appointments.push(appointment2);
appointments.push(appointment3);
@Component({
selector: 'app-root',
imports: [jqxSchedulerModule],
template: `<jqxScheduler
#myScheduler
[date]="date"
[source]="dataAdapter"
[view]="'weekView'"
[showLegend]="true"
[resources]="resources"
[appointmentDataFields]="appointmentDataFields"
[views]="views"
>
</jqxScheduler>`,
styles: [``]
})
export class App {
readonly myScheduler = viewChild.required<jqxSchedulerComponent>('myScheduler');
public source = {
dataType: 'array',
dataFields: [
{ name: 'id', type: 'string' },
{ name: 'description', type: 'string' },
{ name: 'location', type: 'string' },
{ name: 'subject', type: 'string' },
{ name: 'calendar', type: 'string' },
{ name: 'start', type: 'date' },
{ name: 'end', type: 'date' }
],
id: 'id',
localData: appointments
};
public date = new jqx.date(2026, 11, 20);
public dataAdapter = new jqx.dataAdapter(this.source);
public resources = {
colorScheme: 'scheme05',
dataField: 'calendar',
source: new jqx.dataAdapter(this.source)
};
public appointmentDataFields = {
from: 'start',
to: 'end',
id: 'id',
description: 'description',
location: 'place',
subject: 'subject',
resourceId: 'calendar'
};
public views = ['dayView', 'weekView', 'monthView'];
public ngAfterViewInit(): void {
this.myScheduler().ensureAppointmentVisible('id1');
this.myScheduler().clearUndoRedo();
}
}
|