Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Martijn de Jong on Oct 16, 2009 02:57
open dhtmlx forum
Grid in calendar custom form?

Dear reader,

I have created a custom form in calendar which is working great thanks to the example the support team gave. I had another question... is it possible to add a dhtmlxGrid into a custom form for the calendar?

I tried copuing code from a grid example file into my calendar file (http://home.casema.nl/mr4/temp/2.zip), but i receive a javascript error so perhaps there is a conflict.

If you have some spare time, could you please be so kind and take a quick look at the file as to see if there are mistakes?

Thanks in advance
Answer posted by Stanislav (support) on Oct 20, 2009 02:41
The code contains 
     mygrid = new dhtmlXGridObject('gridbox');
before div#gridbox is really rendered. 
Just move code to the end of page or inside onload handler.

By the way, grid's css is missing in your test page