Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to use hard-code text in Formatter'state..

Hi Experts

I am using formatter to show the status. But when i try to write some hard code value ( Overall Status) then it is also come in status color.

I want to decolor the hard-code text Overall Status.?

how can it be possible??

I am going to attach my code.



                      text :"OverallStatus:  {OverallStatus}",

                      state: {




              if(id == "Completely proc")


              return "Success"


              if(id=="Not yet process")


              return "Error"


              if(id=="Partially proce")


              return "Warning"


              } }

thanks and regards


Former Member

Hi Vishnu,

Will this help? JS Bin - Collaborative JavaScript Debugging


Sai Vellanki.

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question