Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1800
Formatting Groupby box
posted

Hi,

I'm using groupby box in the runtime (in design time it is set as hidden = true). I group the grid based on a column and set summaries to using

e.Layout.Bands[0].Summaries.Add() method..

I want to format the groupby row appearance. I tried setting

grid.DisplayLayout.GroupByBox.Appearance.BackColor = Color.LightSteelBlue;

grid.DisplayLayout.GroupByBox.BandLabelAppearance.BackColor =Color.LightSteelBlue;

grid.DisplayLayout.GroupByBox.ButtonBorderStyle = UIElementBorderStyle.Rounded3;

But nothing takes effect.

Any help is appreciated!

Thanks.,

Parents
  • 469350
    Suggested Answer
    Offline posted

    The GroupByBox is a box at the top of the grid where users can drop columns to group them.

    It sounds like what you want to do is color the GroupByRows, which are the rows that appear in the grid for each group of data. So you want to use the GroupByRowAppearance or perhaps handle the InitializeGroupByRow event and set the Appearance on the individual row.

Reply Children
No Data