All Answers

All Answers » Re: Widget Webrequest » Comments for "Re: Widget Webrequest"
  • Glenn Gonzales
    how to get that? Yes I am interested.
  • Levie (ITG)
    Here is a link on the information: https://wisej.com/technology-partner/, you can also send an email to sales AT wisej.com to get started! Best, Levie
  • Glenn Gonzales
    Hi, I am not sure what did I miss, when I call widget.eval(“this.cal.refresh()”); it would give me an error saying refresh is not a function, this.cal is assigned in init of widget as follows this.cal = $(this.container).data(“dxScheduler”); Thanks.
  • Luca (ITG)
    $(this.container).data(“dxScheduler”); doesn’t create the dx scheduler, it returns an instance of an already created scheduler. You have to follow the DevExpress syntax: https://js.devexpress.com/Demos/WidgetsGallery/Demo/Scheduler/Overview/jQuery/Light/
  • Glenn Gonzales
    Hi, Here is the complete code: $(this.container).dxScheduler({ dataSource: wisej.web.DesignMode ? null : DevExpress.data.AspNet.createStore({ key: “ID”, loadUrl: url + “&action=load”, insertUrl: url + “&action=insert”, onUpdating :function(data){ console.log(data); } , onInserting :function(data) { console.log(data); }, onBeforeSend :function(operation, ajaxSettings) { if(operation==”insert”) { //alert(JSON. stringify(ajaxSettings)); } } }) , showBorders: true, width:”100%”, views: [“day”, “workWeek”, “month”], remoteFiltering: true, currentView: “day”, startDayHour: 6, endDayHour: 18, textExpr:”SUBJECT”, startDateExpr: “STARTDATE”, endDateExpr:”ENDDATE”, allDayExpr : “AllDay” }); this.cal = $(this.container).data(“dxScheduler”); =================================================== Please take note, that it is running and I can interact with the scheduler, only when I want to manually refresh from a button click, by calling widget.eval(“this.cal.refresh();”); <==== this is the line the raised an error. Thanks.
  • Glenn Gonzales
    In a datagrid, I can call any function of the dx datagrid using widget.eval(“this.grid.xxxx”), I am just following the examples from your integration 1, Thanks.