dhxcalendar columntype in datagrid

Hi,

     I am trying to initialize one column in datagrid as date/Calendar type, but i am getting error as  "Incorrect cell type: dhxCalendar ",I have kept dhtmlxcalendar.js and dhtmlxgrid_excell_dhxcalendar.js files in my package.

my code is :

       mygrid = new dhtmlXGridObject("mygrid_container");
       mygrid.setImagePath("codebase/imgs/");
       mygrid.setHeader("Name, DOB");
       mygrid.setColTypes("ed,dhxCalendar");
       mygrid.setInitWidths(initWidhts);
       mygrid.init();
       mygrid.loadCSVString(dataString);

Regards,
Sivananda

That files is not included automatically, you need to add script tags for them on the page ( or use dhtmlx.js which includes all components )