Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Peter Ang on Mar 25, 2009 18:39
open dhtmlx forum
price column always align left.

I have a column defined

price[=(c8-c16)*c13*(1+(c14/100))*(1-(c15/100))]

This is working. My problem is it is showing in the cell aligned to the left, no matter what i put in the setColAlign(...)

THanks
Peter

Answer posted by dhxSupport on Mar 26, 2009 02:25

Please check, if you have for example 2 columns:

mygrid.setHeader("First,Second");

mygrid.setColTypes("ed,price");

setColAling parameter should looks like that:

mygrid.setColAlign("left,right");

If issue still occurs please send us any kind of sample. You can send it directly to the support@dthmlx.com