First, Devexpress.xtragrid's example of a Gridcontrol composite or multiline header is shown in the following illustration:
Implementation steps:
1, the devexpress Gridcontrol converted to Bandedgridview, the following figure:
2, set the Display column and bound fields, this setting is the same as we normally use gridcontrol usage.
3, into the Design view (see below), click Bands, the following figure:
Operation Steps:
3.1 Add multiple band, as shown in the bands button add
3.2 Layout: Drag the corresponding band for layout, adjust the position of band according to Need, (note: First, by dragging the corresponding band to achieve multiple headers, and then drag the data has been bound or have been built, but there is no data for the column, to achieve the corresponding. In the following illustration, the top row is implemented by dragging the corresponding band, and the second line is the data to be displayed in the corresponding band position. )