Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vineetha Thomas on Nov 18, 2009 20:17
open dhtmlx forum
Implementing dhtmlscheduler in java

Hii

Thank tou very much for your last response.
I gonna do dhtmlxscheduler in java.
a) Would you please tell me where i have to put this code....and one more thing ,what exactly mean by the pObjId here.please explain..
myGrid = new dhtmlXGridObject("pObjId");
//... grid configuration commands
myGrid.load("myconnector.do");

myDP = new dataProcessor("myconnector.do");
myDP.init(myGrid);

b) will it be okay if i use both dhtmlxscheduler.js and connector.js together instead of using the latest version of dhtmlxscheduler.js.
or...is dhtmlxscheduler.js alone is enough? what is the significance of connector.js actually.

c) I have used one of the html files from the dhtmlxscheduler for my jsp.Its working fine. now i am confused with taking the event object from the js and saving it into the database. i have put the connector.jar too. please tell me how can i proceed.

with regards
Vineetha Thomas
Answer posted by Stanislav (support) on Nov 19, 2009 10:30

pObjId  - id of html container, inside which grid will be rendered ( you need to have some html code with such ID on the page )

>>where i have to put this code.
Grid initialization code can be placed anywhere, after grid's HTML container

>> will it be okay if i use both dhtmlxscheduler.js and connector.js together instead of using the latest version of dhtmlxscheduler.js.
The dhtmlxscheduler.js already includes all logic from dhtmlxcommon.js, dhtmlxdataprocessor.js and connector.js - so it has not sense to include those files second time.