Forum Discussion

Chirag's avatar
Chirag
Ideator III
2 years ago

Change the color of column in Bom structure

Hello Community,

I want to change the color of the column in the BOM Structure if the state is 'Released.' I tried but was unable to find a solution. Does anyone have an idea of how to do it? I am using version 28.

9 Replies

  • Coloring TreeGridViews is unfortunately not yet possible. I miss this feature too. Please write an enhancement request to Aras. If more people ask for this, we get it earlier! :) I assume there is a threshold of around 20-40 people that have to ask for a specific feature until Aras considers it (greetings to multilingual labels in lifecycles and the refresh button that didn´t refresh in the past).

  • Suhas's avatar
    Suhas
    Creator III

    Hello Chirag ,

    By using customization you can add background color to specific cell based on state condition.

    It is possible in TGV to color the state cell to those part which has released state.

    In a TGV editor you can apply your custom CSS. Please refer below screenshot.

    As well as you may need to add same css class in "tgvViewer.css" and "tgvViewer.min.css" file.

    angela Please let me know if anything is required. 

    Regards,

    Suhas

    • angela's avatar
      angela
      Catalyst II

      Hi Suhas ,

      many thanks for this answer! I was looking for such a solution since years!

      I did an quick test in Innovator 12, but only got the plain text from the "Text Template" in my TGV. The variables for Part.state still worked, but the rest was displayed like regular text. 

      Which Innovator version did you use for this solution? Is this something official Aras introduced in any of the new releases?

    • eli_donahue's avatar
      eli_donahue
      Community Manager

      Hi Suhas ,

      I tested this on R31 and saw the same behavior Angela described. Do you perhaps have other customizations in the code tree?

      • suhas_j_steepgraph_com's avatar
        suhas_j_steepgraph_com
        Ideator I

        Yes eli_donahue , We have to modified code files for same.

        In templates.tsx we need to do below changes
        code addition: line 218-line 234


        In tgvViewer.min.css file we need to do below changes:


        I hope it will work.
        Please let me know in case of anything.