Categories | Question details Back To List | ||
#cspan in header Does #cspan added in headers, work differently in version 2.0 than in 1.5? below in my xml in which i want the the 2nd column to be hidden. This in not working in version 2.0 <?xml version="1.0" encoding="UTF-8"?> <rows> <head> <column width="20" type="tree" sort="na"></column> <column width="20" type="numeric" sort="na"></column> <column width="20" type="numeric" sort="na"></column> <column width="20" type="numeric" sort="na"></column> <settings> <colwidth>pc</colwidth> </settings> <beforeInit> <call command="enableTreeGridLines"> <param>true</param> </call> <call command="enableResizing"> <param>true,true,true,false,</param> </call> </beforeInit> </head> <head> <afterInit> <call command="attachHeader"> <param> ,Productive Hours,SVU_Hours data,#cspan </param> <param> font-size: 11px; font-family: Arial ;font-weight :bold ; color :#0A64B7;text-align:center;,font-size: 11px; font-family: Arial ;font-weight :bold ; color :#0A64B7;text-align:center;,font-size: 11px; font-family: Arial ;font-weight :bold ; color :#0A64B7;text-align:center;,font-size: 11px; font-family: Arial ;font-weight :bold ; color :#0A64B7;text-align:center; </param> </call> <call command="setInitWidthsP"> <param>20.0,0,80.0</param> </call> </afterInit> </head> <head> <afterInit> <call command="attachHeader"> <param> ,#rspan,Taw Hours,Training Hours </param> <param> font-size: 11px; font-family: Arial ;font-weight :bold ; color :#0A64B7;text-align:center;,font-size: 11px; font-family: Arial ;font-weight :bold ; color :#0A64B7;text-align:center;,font-size: 11px; font-family: Arial ;font-weight :bold ; color :#0A64B7;text-align:center;,font-size: 11px; font-family: Arial ;font-weight :bold ; color :#0A64B7;text-align:center; </param> </call> <call command="setInitWidthsP"> <param>20.0,0,40.0,40.0</param> </call> </afterInit> </head> <head> <afterInit> <call command="setColumnsVisibility"> <param>false,true,false,false</param> </call> </afterInit> </head> <row id="1" open="1"> <cell>Quarterly - 1</cell> <cell>-</cell> <cell>-</cell> <cell>-</cell> <row id="1.1" open="1"> <cell>Period - 1</cell> <cell>-</cell> <cell>-</cell> <cell>-</cell> <row id="2.2" open="1"> <cell>Week - 1</cell> <cell>-</cell> <cell>-</cell> <cell>-</cell> </row> <row id="2.3" open="1"> <cell>Week - 2</cell> <cell>-</cell> <cell>-</cell> <cell>-</cell> </row> <row id="2.4" open="1"> <cell>Week - 3</cell> <cell>-</cell> <cell>-</cell> <cell>-</cell> </row> <row id="2.5" open="1"> <cell>Week - 4</cell> <cell>-</cell> <cell>-</cell> <cell>-</cell> </row> </row> </row> </rows> Answer posted by dhxSupport on May 05, 2009 05:00 Please try to use following xml struncture: <head> |