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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

RTPPM Selected Row Color Change

r.shaikh
5-Regular Member

RTPPM Selected Row Color Change

Dears,

I am looking your help for Grid.. I want to make a selected row as green in my grid. Is there any documentation or help on this.?

ACCEPTED SOLUTION

Accepted Solutions

Hi

 

You can, it's possible, But I don't suggest doing it.

 

First, I need to mention that you would need to customize the Mashup(s). and other entities Because of this, they would not be upgraded when you upgrade RTPPM : you would have to re-do the entire procedure. It's a risk.

 

Second, there's an important information to know about RTPPM : the Mashups and most other entities (like the Theme) are part of the Extension, which makes it impossible to edit them directly. To edit them, you need to create a duplicate, associate it to another Project (like PTCDefaultProject), and then you can modify your duplicate. If you want to modify the Theme used in a Mashup, you need to duplicate both the Theme and the Mashup to point to the new Theme.

 

Now, how to do it. I'm really not a Theme & customization expert. I tested your request and found a behaviour I didn't expect: instead of using the grid widget's Theme, it actually takes the top-level Theme. So what I found is that to modify the colours in the grid, I had to modify the Master called PTC.FSU.COREUI.MenuConfiguration.MasterContainer_MS, change its Theme and change the URL to be http://MY_SERVER_NAME:8080/Thingworx/Runtime/index.html?mashup=PTC.FSU.COREUI.MenuConfiguration.MasterContainer_EP#master=PTC.FSU.COREUI.MenuConfiguration.MasterContainer_MS_Duplicate. And the changes I applied in the theme used by the Master was applied to all grids. In that Master (which is like a Mashup), I had to change the Theme which was PTC.SCA.SCO.MnfgCommonGlobalUITheme by default. To change the selected row's colour, go to in the Theme in Composer -> Styles tab -> Elements -> Grids & Lists -> Grids -> Selected Background.

 

So in short : duplicate the Theme, modify its Selected Background colour, duplicate the Master "Mashup", modify it to change the Theme it uses, then change the URL you use.

 

I was also told of an alternative : adding "&__applyThemeName=PTC.SCA.SCO.MnfgCommonGlobalUITheme_Duplicate" at the end of the URL. However I wasn't able to make it work.

View solution in original post

3 REPLIES 3

Hi

 

You can, it's possible, But I don't suggest doing it.

 

First, I need to mention that you would need to customize the Mashup(s). and other entities Because of this, they would not be upgraded when you upgrade RTPPM : you would have to re-do the entire procedure. It's a risk.

 

Second, there's an important information to know about RTPPM : the Mashups and most other entities (like the Theme) are part of the Extension, which makes it impossible to edit them directly. To edit them, you need to create a duplicate, associate it to another Project (like PTCDefaultProject), and then you can modify your duplicate. If you want to modify the Theme used in a Mashup, you need to duplicate both the Theme and the Mashup to point to the new Theme.

 

Now, how to do it. I'm really not a Theme & customization expert. I tested your request and found a behaviour I didn't expect: instead of using the grid widget's Theme, it actually takes the top-level Theme. So what I found is that to modify the colours in the grid, I had to modify the Master called PTC.FSU.COREUI.MenuConfiguration.MasterContainer_MS, change its Theme and change the URL to be http://MY_SERVER_NAME:8080/Thingworx/Runtime/index.html?mashup=PTC.FSU.COREUI.MenuConfiguration.MasterContainer_EP#master=PTC.FSU.COREUI.MenuConfiguration.MasterContainer_MS_Duplicate. And the changes I applied in the theme used by the Master was applied to all grids. In that Master (which is like a Mashup), I had to change the Theme which was PTC.SCA.SCO.MnfgCommonGlobalUITheme by default. To change the selected row's colour, go to in the Theme in Composer -> Styles tab -> Elements -> Grids & Lists -> Grids -> Selected Background.

 

So in short : duplicate the Theme, modify its Selected Background colour, duplicate the Master "Mashup", modify it to change the Theme it uses, then change the URL you use.

 

I was also told of an alternative : adding "&__applyThemeName=PTC.SCA.SCO.MnfgCommonGlobalUITheme_Duplicate" at the end of the URL. However I wasn't able to make it work.

r.shaikh
5-Regular Member
(To:mstarnaud)

Dear @mstarnaud Thanks for your response. I had created new Mashup and applied background color in the grid and that works..But your suggestion I will try on exisiting RTPPM and will see how it works. Thanks  alot.

slangley
23-Emerald III
(To:r.shaikh)

Hi @r.shaikh 

 

If you are satisfied with the response from mstarnaud, please mark it as the Accepted Solution for the benefit of other community members.

 

Regards.

 

--Sharon

Announcements


Top Tags