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
490
Set style on a group row
posted

Hi,

 I have data that is grouped like this:

  • Group0
    • Row0
    • Row1
    • Row2
  • Group1
    • Row3
    • Row4
    • Row5

  ...and so forth.

  I'd like to style the *columns* of Group0,1,...,n based upon the values contained within on a per *COLUMN* basis.  I can't see how to do this using UltraGridGroupByRow and when I set the SummaryValue and SummarySetting Appearance property - it styles the top level summary row but not the group rows themselves.

   Is there a way to get to the style that is applied to specific columns of Group0, Group1 etc.?

Thanks

Parents
  • 490
    posted

    OK, I see now that I have to use the SummaryValueChangedEvent to handle this situation.  But now I have a slightly different problem...in general, I want to color specific columns in Group0,Group1 etc. based upon values in the child rows.  However, in some cases, I actually want to style the entire row.

     So far, I the only event I can find that gives me access to the entire row is InitializeGroupByRowEvent.  But this only fires once so I cannot use it to update the style of Group0,Group1 when the child rows (e.g. - Row0-n) change.  Is there an equivalent to  SummaryValueChangedEvent that lets me have access to the entire row and not just the specific summary?

Reply Children