Categories | Question details Back To List | ||
Variable Grid Header Alignment I see how I can align all headers using div.gridbox table.hdr td in dhtmlxgrid.css but cannot figure out how to align the headers to the cell alignment below it. Answer posted by dhxSupport on Mar 09, 2009 07:05 You can set aling to the headers via 3rd parameter of setHeader method: mygrid.setHeader('1,2,3,4,5','',['text-align:center;','text-align:left;','text-align:right;','','']); Answer posted by slisbin on Mar 09, 2009 08:50 Thanks that worked. Can you tell me where that is documented?? Answer posted by dhxSupport on Mar 09, 2009 09:24 http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Headers_and_footers.html#grid_art_hdrftr - "Headers and footers in grid" http://dhtmlx.com/docs/products/dhtmlxGrid/doc/alpha.html#grid_api_a - list of avalible API methods |