jQWidgets Forums
Forum Replies Created
-
Author
-
When using the GetAppointment you see clearly that the data is not in sync:
0: Object
description: “George brings projector for presentations.”
from:
id: “id1”
jqxAppointment: “{“id”:”id1″,”from”:”2018-11-23T14:00:00Z”,”to”:”2018-11-23T21:00:00Z”,“subject”:”test”,“status”:”outOfOffice”,”location”:””,”description”:”George brings projector for presentations.”,”resourceId”:”Room 1″,”recurrencePattern”:””,”recurrenceException”:””,”dtstamp”:”2019-07-19T18:05:57Z”}”
location: “”
originalData: Object
resourceId: “Room 1”
status: “busy”
subject: “Quarterly Project Review Meeting”
to:
toString: ƒ ()Hello @todor,
I noticed that when using setAppointmentProperty, the data when calling getDataAppointments() is not reflecting the right values.
0: Object
calendar: “Room 1”
description: “George brings projector for presentations.”
end: “2018-11-23T21:00:00.000Z”
id: “id1”
location: “”
start: “2018-11-23T14:00:00.000Z”
status: “busy”
subject: “Quarterly Project Review Meeting”Is there a missing step in the code?
You can see the code in : https://stackblitz.com/edit/github-tkcks7
Thanks for your help!
Sorry I saw that it is working in your version
Still not working, if you look at the sample in https://stackblitz.com/edit/github-tkcks7
I created a sample to see it:
I tried with
this.scheduler.setAppointmentProperty(appointment.id, "status", "OutOfOffice");
this.scheduler.setAppointmentProperty(appointment.id, “subject”, “test”);
It works for the subject, but not for the status
What I meant is I want to allow only Out Of Office status on all created appointments.
July 16, 2019 at 5:24 pm in reply to: ERROR Error: jqxScheduler: Missing references to globaize.js ERROR Error: jqxScheduler: Missing references to globaize.js #106097Ok solved it, needed to reference it in the scripts in angular.json
“scripts”: [
“./node_modules/hammerjs/hammer.min.js”,
“./node_modules/jqwidgets-scripts/jqwidgets/globalization/globalize.js”
]July 16, 2019 at 5:14 pm in reply to: ERROR Error: jqxScheduler: Missing references to globaize.js ERROR Error: jqxScheduler: Missing references to globaize.js #106096in my module.ts I import:
import {jqxSchedulerModule} from ‘jqwidgets-ng/jqxscheduler’;
@NgModule({
imports: [
jqxSchedulerModule,…July 16, 2019 at 5:13 pm in reply to: ERROR Error: jqxScheduler: Missing references to globaize.js ERROR Error: jqxScheduler: Missing references to globaize.js #106095The .html
`<div mat-dialog-title>Calendrier – {{titre}}</div>
<div mat-dialog-content>
<jqxScheduler #schedulerReference
[date]=”date” [width]=”800″ [height]=”600″ [source]=”dataAdapter” [showLegend]=”true” [view]=”‘weekView'”
[appointmentDataFields]=”appointmentDataFields” [resources]=”resources” [views]=”views”>
</jqxScheduler>
</div><div mat-dialog-actions class=”full-width” align=”center”>
<button mat-raised-button color=”warn” (click)=”cancelClick()”>Annuler</button>
<button mat-raised-button color=”primary” (click)=”saveClick()”>
Sauvegarder
</button>
</div>’ -
AuthorPosts