• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Cell color on summary row of grids

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cell color on summary row of grids

    How can I get cell color to change on the summary row based upon comparison to other columns or constants? This is easy for regular rows. I've tried using custom formatting, but I usually find some kind of issue (e.g. the whole of the cell isn't filled with the background color). Do you have a standard template for this kind of formatting?

  • #2
    In the next update...you will be able to call setBackgroundColor and/or setTextColor. So your formatting may look something like:
    Code:
    if (summary.isRow){
      setBackgroundColor('#F44336');
      setTextColor('#FFF');
      return v;
    } else if (v){
      return v;
    }

    Comment

    Working...
    X