Change backgroundColor and borderColor at the same time

845
4
Jump to solution
10-18-2019 09:36 AM
AdaLi1
by
New Contributor III

According to https://doc.arcgis.com/en/survey123/desktop/create-surveys/esricustomcolumns.htm, I can use body::esri:style to change the background colour or border colour for my groups. This works when I choose to either change the background colour or the border colour. My question is, is it possible to change both background colour and border colour for a single group?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
BrandonArmstrong
Esri Regular Contributor

Hi Ada,

It is possible to apply both backgroundColor and borderColor in the body::esri:style column for a Group be separating the parameters with a space.  For example: 

backgroundColor="red" borderColor="blue"

View solution in original post

4 Replies
BrandonArmstrong
Esri Regular Contributor

Hi Ada,

It is possible to apply both backgroundColor and borderColor in the body::esri:style column for a Group be separating the parameters with a space.  For example: 

backgroundColor="red" borderColor="blue"

View solution in original post

AdaLi1
by
New Contributor III

Thanks! I can't believe I didn't try a space. Did ',' and ';' instead.

0 Kudos
DougBrowning
MVP Frequent Contributor

What about just one cell or group of cells in a grid?  It seems like you can only do groups or repeats.  

It also seems like border will not work in nested groups or repeats.

thanks

DougBrowning
MVP Frequent Contributor

Bump.  Needing this today again.  Thanks