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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How to display the selected row in a Grid which has assigned a row format

AitorP
6-Contributor

How to display the selected row in a Grid which has assigned a row format

Hi,

 

I have a State Formatting for a grid defined:

AitorP_0-1636555667137.png

It works perfectly, but I can not see which row is selected on the grid because the color does not change. Before to assign the state formatting, the grid had a Style with specific colors of Selected, Hover, etc.

 

Is it possible to combine Selected row and State Formatting? For example, If I select the second row, I would like to know I have selected the row. Now I dont know if the row is selected or not.

 

 

AitorP_1-1636555886659.png

 

Thanks in advance,

Aitor

 

6 REPLIES 6
PaiChung
22-Sapphire I
(To:AitorP)

Ah yes state based definitions have overwritten 'Selection'

Not too sure if that can be 'overwritten' once more with CSS or not.

An alternate approach is to only apply state based definition on a Cell level vs. row level.

We've done things like an extra column in front with an actual icon so it is spotted easier, looks like your third column has that function.

AitorP
6-Contributor
(To:PaiChung)

So, The answer is that Thingworx can not apply a Selected/Hover/etc style to a State Formatting, true? It only works when you work in a specific style for all the grid.

 

PaiChung
22-Sapphire I
(To:AitorP)

If you use row based stated based formatting vs. cell based.

slangley
23-Emerald II
(To:AitorP)

Hi @AitorP.

 

Which version of ThingWorx are you running?  

 

Regards.

 

--Sharon

AitorP
6-Contributor
(To:slangley)

ThingWorx 9.1.0

slangley
23-Emerald II
(To:AitorP)

Hi @AitorP.

 

What is the value of the RowSelection property on the grid?

 

Regards.

 

--Sharon

Top Tags