Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by andreea on May 29, 2008 09:59
open dhtmlx forum
cell align

i have used mygrid.setColAlign("right,left") . Yet only the header is aligned . I need for the cells inside the grid to be aligned . the first column i need it all to be centered aligned , not just the header
Answer posted by Support on May 30, 2008 01:46
By default the setColAlign affect the data part of grid, but it must be executed  before data loaded in grid.
Please be sure that is was called before loading of data, in case of loading from HTML it can be done by using "align" attributes of top row.