jquery datepicker not working in GVH
Hi,
I'm trying to add a datepicker in a module. I'm taking parts of this : https://jqueryui.com/datepicker/
I'm not reloading the jquery script because the GVH 2.9.0 already loads them and that causes problems.
Also when I try to use the jquery datepicker I get an error from Geocortex's mapping.infrastructure.bundle.js (formatted line 39001: this.__base_showDatepicker(e);)
So it seems like Geocortex is messing up with the Jquery datepicker, so how can I make it work? Do I have to use the Geocortex datepicker? If yes, how does that one work?
If anyone knows something about the datepicker (not in workflows), I would appreciate a hand.
Thanks
0
-
Hi Denis,
This same issue has been reported by another user. It is being tracked internally here as GVH-11630.
Unfortunately it has a low priority and has not been scheduled in for a specific version yet.
I have added you as a stakeholder to the case.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
I am running into the same issue. Was this ever resolved?
--Marc0 -
Hi Marc,
It has not, it is still unresolved.
I have added you as a stakeholder to increase the visibility of it.
Regards,
Wayne0 -
please add me as a stakeholder too. Running into this same problem with our custom modules. 0 -
For whatever it is worth, I realized that part of the problem may have to do with the viewer using the KendoUI framework. Though once I realized that, then I explored the KendoUI framework and realized it could do what I wanted with a nice UI without having to load other libraries into my modules. Here is an example that worked for me. this.startDateElem = $("#startDate").kendoDatePicker({ change: startChange, value: new Date(2015, 7, 13) }).data("kendoDatePicker"); this.endDateElem = $("#endDate").kendoDatePicker({ change: endChange, value: new Date() }).data("kendoDatePicker"); Hope that helps someone. --Regards, Marc 0 -
Marc, did you have to include any additional references to access the KendoUI framework? I tried using your example code but VS2013 doesn't like the kendoDatePicker() 0 -
what version of Essentials are you building your modules for? 0 -
Peter, I didn't need to add any additional references since KendoUI is already included. I noticed in VS if I put a breakpoint in the compiled module js at a jquery call that the kendoUI had a bunch of integrated components available. I then looked up KendoUI api to see what inputs and options it expected. https://demos.telerik.com/kendo-ui/datetimepicker/index I am working against 4.12 for the viewer and Essentials. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
8 Kommentare