i use dapfor.Net Grid. Columns can be moved and sorted and their size can be changed within a group. However, the grid doesn’t support moving columns outside the group or inserting a column not belonging to the group into the middle of this group. Merged columns cannot be grouped, but otherwise they behave as regular columns.check codes below Header header = grid.Headers[0]; MergedColumn mergedColumn = header.MergedColums.CreateNew("Merged column"); mergedColumn.Add(grid.Headers[0]["ID2"]); mergedColumn.Add(grid.Headers[0]["ID3"]);
dani dani2 pointsPosted Jun 4, 2016, 1:02 PM EDT
i use dapfor.Net Grid. Columns can be moved and sorted and their size can be changed within a group. However, the grid doesn’t support moving columns outside the group or inserting a column not belonging to the group into the middle of this group. Merged columns cannot be grouped, but otherwise they behave as regular columns.check codes below
Header header = grid.Headers[0];
MergedColumn mergedColumn = header.MergedColums.CreateNew("Merged column");
mergedColumn.Add(grid.Headers[0]["ID2"]);
mergedColumn.Add(grid.Headers[0]["ID3"]);
header.ColumnPanelHeight = 36;
mergedColumn.Height = 18;