Hi,
I have a grid where the display should be like this:
A B
1 2
i.e., A,B sholud be in two different cells, but separator should not be there in between. For look I want them to be displayed like they are in the same cell. Code will look like this:
<column width="“100"” type"ro" “” align="“left”" color="“white”">"
<column width="“100"” type"ro" “” align="“left”" color="“white”">"
<!CDATA[[1]]>
<!CDATA[[2]]>
Please suggest me how to achieve this funtionality.
You can combine two cells in header, by using colspan
<column width=“100” type=“ro” align=“left” color=“white”>
<column width=“100” type=“ro” align=“left” color=“white”>#cspan
Thanks for the speedy reply. But how can I insert cell values?
<column width=“100” type=“ro” align=“left” color=“white”>
<column width=“100” type=“ro” align=“left” color=“white”>#cspan
Can I give data like this?
<!CDATA[[1]]>
<!CDATA[[2]]>
Hi,
I used the syntax. I dont want a separator even for row data. With the given syntax only in the column headers separator is not coming. I want the row data also to be displayed in the similar way.
E.g.,
A B
1 2
Please suggest the syntax
Can I give data like this?
The grid still have two columns , so you can set data in normal way
I want the row data also to be displayed in the similar way.
In grid init code
grid.enableColSpan(true)
in XML
<!CDATA[[1 2]]>