jQuery UI Widgets › Forums › Scheduler › Error on initialisation
Tagged: scheduler
This topic contains 4 replies, has 2 voices, and was last updated by Peter Stoev 6 years, 4 months ago.
-
AuthorError on initialisation Posts
-
I get the data for the sheduler by a socket function and bind the sheduler within the servers success answer. I proofed, that the getdata routine is working.
I bind a DataAdapter. Works fine.
then:
$("#hevPanel_Terminplaner_KalenderID").jqxScheduler({ width: "100%", height: "100%", source: hevAdapter_Terminplaner_Termine, view: 'monthView', appointmentDataFields: { from: "Start", to: "End", id: "ID", description: "Description", location: "Location", subject: "Subject", resourceId: "ResourceID" }, views: ['dayView','weekView', 'monthView'], localization: hevTranslateScheduler, theme: hevTheme });
Why do I get this error? I can’t understand the meening of the error message. Maybe I don’t see the forest by to many trees 😉
.jqx.dataAdapter {_source: {…}, _options: {…}, records: Array(0), _downloadComplete: Array(0), _bindingUpdate: Array(0)}addrow: nullcache: falsecachedrecords: [{…}]data: nulldeleterow: nullfilter: nullhierarchy: []koSubscriptions: []loadedData: Array(1)0: {ID: 1, ResourceID: 1, PersID: 1, OrgaID: 1, VertrittID: 0, …}length: 1__proto__: Array(0)mapChar: “>”originaldata: [{…}]pageable: falsepagenum: 0pagesize: 10recordids: (2) [empty, {…}]records: [{…}]0: Allday: falseDeleted: falseDescription: “Einführung Hevido”End: “2018-07-24T22:00:00.000Z”GruppenIDs: nullID: 1Location: “Ludwigshafen”OrgaID: 1PersID: 1RecurrenceException: nullRecurrenceRule: nullResourceID: 1RollenIDs: nullStart: “2018-07-24T22:00:00.000Z”Status: nullStyle: nullSubject: “Schulung”TerminMitIDs: nullTimezone: nullVertrittID: 0background: nullborderColor: nullcolor: nulldraggable: truehidden: falsereadonly: falseresizable: truetooltip: nulluid: “1”__proto__: Objectlength: 1__proto__: Array(0)sort: nullsortcomparer: nulltotalrecords: 1unboundmode: falseupdaterow: nullvirtualmode: false_bindingUpdate: [{…}]_downloadComplete: Array(0)length: 0__proto__: Array(0)_options: {totalrecords: 0, originaldata: Array(0), recordids: undefined, cachedrecords: Array(0), pagenum: 0, …}_source: {datatype: “json”, datafields: Array(28), id: “ID”, localdata: Array(1), recordstartindex: 0, …}__proto__: Object
jqxscheduler.js?ver=5.7.2:7 Uncaught TypeError: Cannot read property ‘type’ of undefined
at b.(/anonymous function)._setView (…………../V4031/9000_Extern/jqw572/jqxscheduler.js?ver=5.7.2:7:75791)
at b.(/anonymous function).setView (………………/V4031/9000_Extern/jqw572/jqxscheduler.js?ver=5.7.2:7:76792)
at b.(/anonymous function).propertyChangedHandler (……………………./V4031/9000_Extern/jqw572/jqxscheduler.js?ver=5.7.2:7:282057)
at Object.a.jqx.setvalueraiseevent (jqxcore.js?ver=5.7.2:14)
at String.<anonymous> (jqxcore.js?ver=5.7.2:14)
at Function.each (jquery-3.3.1.min.js?ver=1:2)
at Object.a.jqx.set (jqxcore.js?ver=5.7.2:14)
at Object.a.jqx.jqxWidgetProxy (jqxcore.js?ver=5.7.2:14)
at HTMLDivElement.<anonymous> (jqxcore.js?ver=5.7.2:14)
at Function.each (jquery-3.3.1.min.js?ver=1:2)Hi
This information does not help much.
Please, send us a jsfiddle sample which shows an issue on our side.Regards
PeterDear Mr. Stoev. Please answer my question. It’s your error message. What does the error message mean?
Done. DataAdapter is not programmed very properly. I now find a workaround.
Hi GrayWizzard,
Thank you for the update. It’s great that you found a workaround for you.
Best Regards,
Peter StoevjQWidgets Team
https://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.