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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
  • Downloads
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • >> Go to dataminer.services

LCA – HTML table inside grid

52 views1 day ago
0
Marco Virdis465 1 day ago 0 Comments

Hi Dojo,
In my LCA, I have a one-column, many-row grid that simulates a table. HTML code has been placed inside the grid to simulate a table. The values inside the table are variables. Is it possible to use conditional formatting to color individual cells of the HTML table? I tried JavaScript, but it does not seem to be supported. Is there a way to do this, or does everything have to be done from the backend?

Thanks!

Marco Virdis Answered question 1 day ago

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Marco Virdis465 Posted 1 day ago 0 Comments

Hi Wout,

your solution seems good, but in the edit panel, I don't have "Show HTML"; I have "Show Text," and I can't use more HTML code.

I have more html columns inside the single column of the grid. By this way I color all the row but I want color only a cell.

This is the html inside the grid

```

<div class="commercials" title="" style="height: 100%; width:100%">
<style>
dma-cc-text-container {
height: 100%;
}
.commercials table {
table-layout: fixed;
border-collapse: collapse;
width: 100%;
}

.commercials table td {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 20px;
font-weight: bold;
}
</style>
<table>
<colgroup>
<col style="width: 6%;">
<col style="width: 5%;">
<col style="width: 5%;">
<col style="width: 4%;">
<col style="width: 3%;">
<col style="width: 4%;">
<col style="width: 13%;">
<col style="width: 13%;">
<col style="width: 6%;">
<col style="width: 6%;">
<col style="width: 2%;">
<col style="width: 10%;">
<col style="width: 10%;">
<col style="width: 13%;">
</colgroup>
<tbody>
<tr>
<td>{Categoria}</td>
<td>{Mat.ID}</td>
<td>{Canale}</td>
<td>{Data}</td>
<td>{Ora}</td>
<td>{Tipologia}</td>
<td>{Mediator Main - Video}</td>
<td>{Mediator DR - Video}</td>
<td>{Baton Main}</td>
<td>{Baton DR}</td>
<td>{STL}</td>
<td>{Mediator Main - STL}</td>
<td>{Mediator DR - STL}</td>
<td>{MAM}</td>
</tr>
</tbody>
</table>
</div>

```

Marco Virdis Changed status to publish 1 day ago
You are viewing 1 out of 2 answers, click here to view all answers.
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin