[web2py] Re: DHTMLX javascript library

2016-03-28 Thread Dave S
On Sunday, March 27, 2016 at 6:44:24 PM UTC-7, Henk huisman wrote: > > Hi me again, > > It appears that the Timeline functionality that I was looking for is only > included in the DHTMLX Pro Commercial Version which costs 490$. > > I have been looking into a lot of products for functionality t

[web2py] Re: DHTMLX javascript library

2016-03-27 Thread Henk huisman
Hi me again, It appears that the Timeline functionality that I was looking for is only included in the DHTMLX Pro Commercial Version which costs 490$. I have been looking into a lot of products for functionality to present resources with a scheduler/ timeline. So far I have only found commerc

[web2py] Re: DHTMLX javascript library

2016-03-27 Thread Henk huisman
The view looks now as follows: {{extend 'layout.html'}} Example of scheduler     scheduler.config.xml_date="%Y-%m-%d %H:%i"; scheduler.init('scheduler_here', new Date(),"month"); scheduler.load("{{=UR

[web2py] Re: DHTMLX javascript library

2016-03-27 Thread Leonel Câmara
Note that I never used DHTMLX I'm just looking at their documentation, it appears you can use the same URL to save and load the results using something like this instead of scheduler.load myDataProcessor = new dataProcessor("{{=URL('rentals.load')}}");myDataProcessor.setTransactionMode("REST");

[web2py] Re: DHTMLX javascript library

2016-03-27 Thread Henk huisman
You're right. I changed the return in the controller to *return response.json(rows)* and now it works as expected. Thanx. Still... what to do with all that PHP the dataConnector is written in, in order to get data back tot the server Op zondag 27 maart 2016 07:56:15 UTC-4 schreef Leone

[web2py] Re: DHTMLX javascript library

2016-03-27 Thread Leonel Câmara
Pretty sure that controller isn't returning json. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to

[web2py] Re: DHTMLX javascript library

2016-03-26 Thread Henk huisman
I have been studying the documentation and forums of the DHTMLX javascript library a bit further. So it seems they are completely focussed on PHP for server side processing. Python is not on their horizon. I don't think it is worthwhile putting much more energy in this... Too bad. The client sid