Skip to content

Commit

Permalink
SVY-19505 Cannot add events in fullcalendar2 sample
Browse files Browse the repository at this point in the history
  • Loading branch information
marianvid committed Sep 9, 2024
1 parent e29beb6 commit 4d7e054
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions fullcalendar2ComponentSample/forms/demoCalendar.frm
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ foundsetSelector:"mem:event_objects",
loadAllRecords:"true"
},
onCellDoubleClick:"A4A13AF2-52D5-4447-97D0-F4AEDA1164B4",
onColumnDataChange:"818C2F1D-CBDA-48EF-BC5B-839A2D33987A",
readOnly:true
},
name:"eventsGrid",
Expand Down
1 change: 1 addition & 0 deletions fullcalendar2ComponentSample/forms/demoCalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,7 @@ function eventsCallback() {
record.end_date = scopes.svyData.endDate;
record.allday = scopes.svyData.allDay;
record.resource_id = getResourceId(scopes.svyData.groupName);
record.description = scopes.svyData.description;
if (isNewEvent) {
record.editable = 0;
databaseManager.saveData();
Expand Down
1 change: 0 additions & 1 deletion fullcalendar2ComponentSample/svyData.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ var tableData = {
event_objects: {
columnNames: ["event_object_id", "resource_id", "allday", "description", "editable", "end_date", "start_date", "title_event"],
rows: [
["55555555-5555-5555-5555-555555555555", "44444444-4444-4444-4444-444444444444", 0, null, 1, "1900-01-09T14:00:00.000Z", "1900-01-09T07:30:00.000Z", "The beginning of time"],
["23C28FA8-3BAE-4ED3-9867-08344B760E9A", "2A595C21-C4E7-4DC0-A4F9-53F5A1C94D8C", 0, null, 1, "2024-01-09T14:00:00.000Z", "2024-01-09T07:30:00.000Z", "Apple Event"],
["5E55FDAF-5C21-47EF-96B1-ABC0AD6AF902", "2A81D00C-22F3-4EF0-9B9B-799024A0679A", 1, null, 1, "2024-01-14T17:30:00.000Z", "2024-01-08T07:30:00.000Z", "Servoy World"],
["67FAC62C-D12B-4ECF-A0C3-2A3EE652421C", "18486893-983F-4F95-8F9E-93B56F667910", 0, "Presentation", 1, "2024-01-12T14:00:00.000Z", "2024-01-12T07:30:00.000Z", "Office 365"],
Expand Down

0 comments on commit 4d7e054

Please sign in to comment.