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

Repeater selected style

SOLVED
Highlighted

Repeater selected style

When I try to give repeater selected style,I am getting color only at left edge.I need color for the entire tile.Could someone help me?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Repeater selected style

Hi,

 

Try the following CSS:

 

.repeater-item-selected
{
border: 4px red solid !important;
}

 

This will add red border for selected items in the repeater.

 

Hope it helps,

Raluca Edu

View solution in original post

3 REPLIES 3

Re: Repeater selected style

Hi,

 

For the selection, you can easily create a custom style to just get a border around your cell by creating a new style with blanks for all colors except 'Line Color'.

Please see this post:

https://community.ptc.com/t5/ThingWorx-Developers/Styling-selected-rows-in-a-Repeater/m-p/527889

 

Note: Repeater widget is deprecated, in ThingWorx 8.2 and later, the Collection Widget is available. The Collection Widget contains all the functionality available in the Repeater Widget, with additional performance and functionality options. It is recommended that you use the Collection Widget if you are using ThingWorx 8.2 or later.

 

Hope it helps,

Raluca Edu

Highlighted

Re: Repeater selected style

I tried giving only line color,but it is not showing any border color.Could you please recheck?

Highlighted

Re: Repeater selected style

Hi,

 

Try the following CSS:

 

.repeater-item-selected
{
border: 4px red solid !important;
}

 

This will add red border for selected items in the repeater.

 

Hope it helps,

Raluca Edu

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________