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
465
Changing CellStyle on Summary Cell on GroupBy Row
posted

I am using UltraGrid with GroupBy feature enabled, and I have the following features to allow showing summary cells on the groupby row.

band.Override.GroupBySummaryDisplayStyle = GroupBySummaryDisplayStyle.SummaryCells;
band.Override.SummaryDisplayArea = SummaryDisplayAreas.InGroupByRows;

I also created some custom SummaryCalculators which everything worked as expected, but I was only able to display text within these summary cells.  For example, if a column is a checkbox style column, I would like the summary cell to also be a CheckBox with a summary value that figures out by a custom SummaryCalculator.  If it is an image style column, I want to display an summary image on the summary cell of the column as well.  Is there a way to do that?

Thanks.

Michael

Parents
  • 469350
    Offline posted

    Hi Michael,

    There's no built-in support for CheckBoxes in summary cells. I think it might be possible to display an image in a summary cell via the Appearance, but not as the summary value.

    You could probably achieve this using a CreationFilter, but this is not a trivial undertaking. I could probably help you with that, but just to clarify, you don't want the checkbox in the summary to be clickable, do you? Displaying a Checkbox in a summary would be one thing, but making it editable would be something else.

    Regarding images, I assume you are actually assigning an Image object to the summary value via your custom summary calculator? Or are you just assigning some numeric or other key value that you expect to translate into an image?

Reply Children