Grouping and summary

Hi to all,

just few request using grid group.

It's possible, within grouping options, add

- horizontal gradient to summary row

- the possibility to align the summary value (now is aligned to the left border) to center or rigth border.

- If ShowGroupcount is true, the possibility to change (at least) the text color.



This is only for cosmetic result.



Thank's for all



Daniele

You can set the color of the summary row with

grid.Grouping.SummaryColor
grid.Grouping.SummaryColorTo

Alignment of summary row text can be done (just like with other cells) via OnGetAlignment (and check grid.IsSummary() from this event to apply only for summary rows

You can set the color of the group count via HTML formatting, i.e. 
grid.Grouping.GroupCountFormat := '<font color="#ff0000">%d</font>

Good morning Bruno,

the summarycolor and summarycoloto give the grandient in vertical way, from top (summarycolor) to down (summarycolorto) of the row.

I ask for horizontal gradient, from left to rigth, of the row.



Thank's for answer to other points.



Regards



Daniele

Sorry, I overlooked the specification for horizontal alignment. There is currently unfortunately not a built-in setting for this.

Hi Bruno,

thank's for reply; it was just for "cosmetic" effect.



Good week end



Daniele