needed a grid having more than one header.... [modified]
-
Respected gurus I m working with a windows datagrid.i need two headers in my grid. eg.. Product name cat1 cat2 name1 name2 data data data data data data data data How to achieve it. My data is coming from backend. i need it in the windows application...... -- modified at 8:43 Thursday 20th September, 2007
-
Respected gurus I m working with a windows datagrid.i need two headers in my grid. eg.. Product name cat1 cat2 name1 name2 data data data data data data data data How to achieve it. My data is coming from backend. i need it in the windows application...... -- modified at 8:43 Thursday 20th September, 2007
It's not supported by the old DataGrid, or by the DataGridView controls. You'd have to add this yourself, either by using cleverly placed and defined label controls above the DGV, possibly in your own UserControl, or by creating your own version of the DGV control and adding this functionality to the existing control using custom properties and painting code.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007