Skip to content

Column grouping

boom boom

Asked Jun 4, 2016, 12:59 PM EDT1 answer
Share
LinkedInX
pls how can i group a column?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0

    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;

    0