Header and Attachheader

Hi,

I have a grid and the grid header is a complex header.

I want the grid header to look like





|100px|100px|70px|30px|70px|30px|100px|100px| Header (Data are the size of the columns that i want)

|100px|100px| 100px | 100px |100px|100px| Attached Header (Data are the size of the columns that i want)





The syntax that i have tried and failed.

Response.write " Data



If (Condition) then

Response.write " Data

Response.write " #cspan

end If

Values="#rspan"

for i=1 to number_of_columns-1

Values=Values & “,” & “#rspan

Response.write “”

Response.write Values

Response.write “”



Could you pleaase suggest me on how to acheive the above mentioned structure of the grid?

The necessary syntax will be
      
       A1
       A2
       A3
       A4
       A5
       A6
       A7
       A8
      
          B1,B2,B3,#cspan,B5,#cspan,B7,B8
      
   
   


Thanks for the reply.



It is working but the header and body are not in sync. When  i try to resize the column header, only the body part of the grid is getting resized. The header part is not getting resized.



Is there any functionality as spiltting a cell(not the column) into two. If it is possible please let me know the syntax.



 

It is working but the header and body are not in sync.
The sample code provided in previous answer works correctly for me. Colspans in grid header must not cause any effect on grid resize.
If problem still occurs for you - please send any kind of sample where it can be reconstructed

>>Is there any functionality as spiltting a cell(not the column) into two
The cell itself can’t be split , the only way - create additional columns and merge them where it necessary.