Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Colouring tables’ rows on conditional cases on dashboard

Solved706 views19th September 2024
2
Marco Virdis416 24th July 2024 1 Comment

Dear Dojo,
is it possible to customise tables such as colouring individual rows on dashboard?
If in a column there is “yes” then colours the row in green, not only the single cell.
If in a column there is “no” then colours the row in red, not only the single cell.
Something like that.

Thank you

Marco Virdis Selected answer as best 19th September 2024
Marieke Goethals [SLC] [DevOps Catalyst] commented 19th September 2024

Hi,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer that has been most helpful for you (using the ✓ icon) to indicate that the question is resolved?

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Michiel Vanthuyne [SLC] [DevOps Enabler]4.11K Posted 24th July 2024 1 Comment

Hi Marco,

If you want to do this on connector level, you can look into the “RowTextColor” option. Please check Options overview | DataMiner Docs for more details. See also the example below

<Param id=”1000″ trending=”false”>
<Name>Table2</Name>
<Description>Table 2</Description>
<Type>array</Type>
<ArrayOptions index=”0″ displayColumn=”1″>
<!–options=”;naming=/1002″–>
<!–Key & Index–>
<ColumnOption idx=”0″ pid=”1001″ type=”index” value=”” options=”;save”/>
<ColumnOption idx=”1″ pid=”1002″ type=”custom” value=”” options=”;save”/>
<ColumnOption idx=”2″ pid=”1003″ type=”custom” value=”” options=”;save”/>
<ColumnOption idx=”3″ pid=”1004″ type=”custom” value=”” options=”;save”/>
<ColumnOption idx=”4″ pid=”1005″ type=”custom” value=”” options=”;save”/>
<ColumnOption idx=”5″ pid=”1010″ type=”custom” value=”” options=”;save”/>
<ColumnOption idx=”6″ pid=”1012″ type=”custom” value=”” options=”;save”/>
<ColumnOption idx=”7″ pid=”1014″ type=”custom” value=”” options=”;save;rowTextColoring”/>
<!–Data–>
</ArrayOptions>
<Information>
<Text>DVE Table</Text>
</Information>
<Interprete>
<RawType>other</RawType>
<LengthType>next param</LengthType>
<Type>double</Type>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>Tables</Page>
<Row>5</Row>
<Column>0</Column>
</Position>
</Positions>
</Display>
<Measurement>
<Type options=”tab=columns:1001|0-1002|1-1003|2-1004|3-1005|4-1010|5-1012|6-1014|7,lines:20,width:100-100-100-100-100-100-100-100,sort:int-string-int-string-string-int-string-string,filter:true”>table</Type>
</Measurement>
</Param>

….

<Param id=”1014″ trending=”true”>
<Name>SavedDiscreet2ReadWrite</Name>
<Description>SavedDiscreet2ReadWrite</Description>
<Type>read</Type>
<Interprete>
<RawType>numeric text</RawType>
<LengthType>next param</LengthType>
<Type>double</Type>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Alarm>
<Monitored>true</Monitored>
</Alarm>
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet options=”;rowTextColor=#FF0000″>
<Value>0</Value>
<Display>Zero</Display>
</Discreet>
<Discreet options=”;rowTextColor=#00FF00″>
<Value>1</Value>
<Display>One</Display>
</Discreet>
<Discreet options=”;rowTextColor=#0000FF”>
<Value>10</Value>
<Display>Ten</Display>
</Discreet>
<Discreet options=”;rowTextColor=#00FFFF”>
<Value>100</Value>
<Display>One Hundred</Display>
</Discreet>
</Discreets>
</Measurement>
</Param>

The resulting table can look something like this:

Marco Virdis Selected answer as best 19th September 2024
Marco Virdis commented 24th July 2024

Thank you Michiel but I need colouring the rows of a table in a low-code app. Your suggest looks good, I’ll remember it. Thanks

4
Gilles Bara [SLC] [DevOps Enabler]6.80K Posted 24th July 2024 0 Comments

Depending on the amount of columns, this can be quit some work, but it can be achieved, by customizing the appearence of every column to show a background based on the same condition. The template editor allows you to customize a cell based on conditions from the other columns, while conditional coloring is limited to the one single column.

Gilles Bara [SLC] [DevOps Enabler] Answered question 24th July 2024
0
Apurva Tandon [DevOps Advocate]1.61K Posted 26th July 2024 0 Comments

Colouring table in low code app

Apurva Tandon [DevOps Advocate] Answered question 26th July 2024
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs