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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

How to remove selected row label from grid?

MB_9621099
5-Regular Member

How to remove selected row label from grid?

I have used Grid widget with multi row selection on grid.

After doing so if we select multiple rows it does show how many rows we have selected on a grid as a selected rows label.

I wanted to hide it or turn it off but not getting any property to do so.

looking for any suggestion using which i can turn it off.

 

1 ACCEPTED SOLUTION

Accepted Solutions
MB_9621099
5-Regular Member
(To:M4RC)

Thanks for the suggestion marc seems like css is the only solution on this in that case i will have to go with other approach but thanks to everyone for giving solutions.

View solution in original post

13 REPLIES 13

Hi @MB_9621099 

 

You can check it here

https://www.ptc.com/en/support/article/CS352537

 

Hope this helps you

 

Thanks!

MB_9621099
5-Regular Member
(To:danmorin)

Hi @danmorin 

 

Before posting this issue i referred this post and now also i tried it but it doesn't get rid of that label. 

so issue is still persisting. 

Can you specify the ThingWorx version that you are using?

MB_9621099
5-Regular Member
(To:danmorin)

Thingworx 9.3.4 

MB_9621099
5-Regular Member
(To:MB_9621099)

I tried this solution from that article :-

 

  • For ThingWorx 9.3
    • Select Base -> additional-label
    • Set a blank color or set Other:0px to font-size

 

when it didnt work also tried to modify other properties in base but it didnt worked either.

Hi @MB_9621099 

 

I tried adding this on the custom CSS, and its working on my 9.3.4

 

 

.widget-ptcsgrid::part(selected-rows-label){
   display:none
}

 

 

 

could you try it again with this approach ?

 

Otherwise you can just use the Grid Advanced widget, by default it would not show selected row

danmorin_0-1663769932622.png

 

 

Thanks

MB_9621099
5-Regular Member
(To:danmorin)

Thing is that for our project we are not suppose to use custom css which is why i was looking for other solution apart from using custom css.

Then can you try to use Grid Advanced widget rather than Grid widget ?

 

danmorin_0-1663769998163.png

 

 

Thanks

MB_9621099
5-Regular Member
(To:danmorin)

Actually grid advanced is legacy widget and we are mostly using standard grid so it might be not used in our case but i will keep this suggestion in mind but if you have any solution around gird apart from css that would be great.

did this worked for you with 9.3.x version ?

 

  • For ThingWorx 9.3
    • Select Base -> additional-label
    • Set a blank color or set Other:0px to font-size

It is still working on 9.3.3 version

MB_9621099
5-Regular Member
(To:danmorin)

ok because i tried same thing like shown in attached image but it still shows it.

M4RC
14-Alexandrite
(To:MB_9621099)

Hello,

 

the setting you are looking for is "selected rows-Label" which has only style options for padding top and bottom.

 

In this case I can recommend you to use CSS.

If you use a CustomClass, the code will only affect this grid. If you want it to affect all grids in your mashup, leave out the part (.myGridClass).

 

.myGridClass .widget-ptcsgrid::part(selected-rows-label) {
display: none;

 

Best regards

Marc

MB_9621099
5-Regular Member
(To:M4RC)

Thanks for the suggestion marc seems like css is the only solution on this in that case i will have to go with other approach but thanks to everyone for giving solutions.

Top Tags