cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

State Definition overriding style properties.

Avinash_Shukla
5-Regular Member

State Definition overriding style properties.

Hi,

I have a grid which has a state formatting which changes the color (of value) of row to red after some condition is hit, and keeps it default otherwise.
I want to change the background color of row when i select a particular row, so, i applied background color on selection in style properties.
But on selection of row, the background color doesnt change only the text becomes smaller, seems like the state definition is overriding with the style properties 
I want that background color on selection, is there any workaround it ?
Above grid is the issue,

bottom is the behaviour i want 

p.png

 

 

 

 

 

3 REPLIES 3

Hi @Avinash_Shukla.

 

Please provide the version of ThingWorx you're running and advise which grid widget you're using. 

 

What is the state definition doing?  Perhaps you can provide that along with a simplified mashup so we can take a look.

 

Regards.

 

--Sharon

Avinash_Shukla
5-Regular Member
(To:slangley)

Hey thanks, I figured it out eventually.

 

Hi @Avinash_Shukla.

 

Would you mind sharing your solution with the community?

 

Thanks.

 

--Sharon

Top Tags