HI all,
Is it possible to arrange columns so that they will look like this:
----------------------------------------------------------------------------
| c o l u m n h e a d e r 2
--------------------------------------
c o l u m n h e a d e r 1 | c o l u m n h e a d e r 3
--------------------------------------
| c o l u m n h e a d e r 4
----------------------------------------------------------------------------
| column 2 data
--------------------------------------
column 1 data | column 3 data
--------------------------------------
| column 4 data
----------------------------------------------------------------------------
I've tried this with HTMLViewDefinition, but it doesn't help a lot. Using HTMLViewDefinition I faced issues with setting correct widths for the columns (every time it either auto fills if AutoSizeColumnsMode is set to 'Fill', or shrinks if it set to 'None').
Setting a view.RowTemplate.Rows[0].Cells[0].Width to any value doesn't help as well.
I've read this discussion about using one column header for two columns, located here:
http://www.telerik.com/community/forums/winforms/gridview/span-multiple-columns-with-gridview-header.aspx
But not sure that it could be used in my case.
Also, I've took a look at these two articles:
http://www.telerik.com/help/winforms/overview2.html
and
http://www.telerik.com/help/winforms/columngroupsview.html
Could you please advise on how to arrange columns the way I need?
Cheers,
P
Is it possible to arrange columns so that they will look like this:
----------------------------------------------------------------------------
| c o l u m n h e a d e r 2
--------------------------------------
c o l u m n h e a d e r 1 | c o l u m n h e a d e r 3
--------------------------------------
| c o l u m n h e a d e r 4
----------------------------------------------------------------------------
| column 2 data
--------------------------------------
column 1 data | column 3 data
--------------------------------------
| column 4 data
----------------------------------------------------------------------------
I've tried this with HTMLViewDefinition, but it doesn't help a lot. Using HTMLViewDefinition I faced issues with setting correct widths for the columns (every time it either auto fills if AutoSizeColumnsMode is set to 'Fill', or shrinks if it set to 'None').
Setting a view.RowTemplate.Rows[0].Cells[0].Width to any value doesn't help as well.
I've read this discussion about using one column header for two columns, located here:
http://www.telerik.com/community/forums/winforms/gridview/span-multiple-columns-with-gridview-header.aspx
But not sure that it could be used in my case.
Also, I've took a look at these two articles:
http://www.telerik.com/help/winforms/overview2.html
and
http://www.telerik.com/help/winforms/columngroupsview.html
Could you please advise on how to arrange columns the way I need?
Cheers,
P