Hello,
I am a little bit lost with the dhtmlxgrid component. In fact, i downloaded the standard version and i put it on my ftp server. I declared my dhtmlxgrid with this code :
var mygrid = new dhtmlXGridObject("listeVideos");
mygrid.setImagePath("wp-content/themes/2012Modif/js/dhtmlx/dhtmlxGrid/codebase/imgs/");
mygrid.setHeader("CATEGORIE,DESCRIPTION,DATE",null,["text-align:center;","text-align:center;","text-align:center;"]);
mygrid.attachHeader("#select_filter, ,#cspan");
mygrid.enableAutoWidth(true);
mygrid.setInitWidthsP("20,70,10");
mygrid.setColTypes("ro,ro,ro");
mygrid.setColSorting("str,str,str");
mygrid.setColAlign("center,center,center");
mygrid.enableMultiline(true);
mygrid.init();
mygrid.setSkin("dhx_web");
mygrid.loadXML("wp-content/themes/2012Modif/xml/videosliste.php");
Normally, the text into the rows should be centered. However, it stays left aligned. Is the column alignement specific to the professional version ?
Thanks you for your help
Vinz