colAlign in DHTML Grid

We are using: ghtmlxGrid v.2.1 Standard edition build 90226

We are having an issue with the setColAlign. When I set the alignment to right it doesn’t do anything. Everything is left aligned.

Here is the code:



mygrid = new dhtmlXGridObject(name);

mygrid.setImagePath("/codebase/imgs/");

mygrid.setHeader(“Slip Date,Post Date,Ref. Number,Description,Amount”);

mygrid.setInitWidths(“85,85,150,*,90”)

mygrid.enableAutoWidth(false);

mygrid.enableAutoHeight(false);

mygrid.setColAlign(“left,left,left,left,right”);

mygrid.setColTypes(“ro,ro,ro,ro,link”);

mygrid.setColSorting(“str,str,int,str,int”);



mygrid.init();

mygrid.setSkin(“light”);

mygrid.parse(array,“jsarray”);

Please check example at the attachment. As you can se mentioned issue doesn’t appear
sample_align.zip (81 KB)