Is it possible to Merge 2 of the column Header cells without affecting the columns beneath them?
if so how?
No idea.
Since your version is too old to support the property, if you don't update to the new version, I'm afraid you have to override the OnPaint event. I think you don't wanna do that.
Thank you so much xzl1234 for the reply.
But it seems I have a version problem. On WinGrid4.3, "LabelPosition=LabelOnly" is not possible.
Any idea?
Sorry, it's difficult to give you the sample code, because the best way to do so is using the graphic design mode to do so, if you want to do so using code, I think it's crazy. I saw the generated codes after I got the heads like you said, the code was complex and terrible.
There are some people wrote a tutorial, but it's in Chinese, I'm not sure whether you can understand, but there are some graphics which would help you to do so. http://blog.csdn.net/venus0314/archive/2007/06/19/1658029.aspx
Hi, I am new to ultrawingrid and i have a requirement of doing the same thing as manni2 wants. I need the following layout.
| - - group 1 header - - | - - group 2 header - - | | - - header 2.1 - - | - - header 2 .2 - - | | - - header 2.1.1 - - | - - header 2.1.2 - - | - - header 2.2.1 - - | - - header 2.2.2 - - |----------------------------------------------------------------------------------------------------------------------------------------------------------
| col 1 | col 2 | col 3 | col 4 | col 5 | | col 1 | col 2 | col 3 | col 4 | col 5 | | col 1 | col 2 | col 3 | col 4 | col 5 |
sample code, external link will be highly appreciated.
Thanks.
Hi xzl1234,
could you please specify your solution in more detail (code example).
My problem: I'd like to attach bound columns to certain groups within the band. For some of these columns within a group I need a header spanning over them. It looks like this:
|-- group 1 --|-- group 2 --| |-- header0 --| |- header1 | header2 |
Thanks for your help.