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
    • 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
      • 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

GQIDateTimeColumn – Show DisplayValue in table when Value is not defined

Solved126 views1 day agoGQI low code app
3
Joey Vanhalst [SLC] [DevOps Advocate]2.05K 2 days ago 0 Comments

I have a custom ad-hoc datasource that returns a GQIDateTimeColumn. We are only providing the value if the DateTime is applicable, if it's not, we are providing "N/A" as DisplayValue.

How can this DisplayValue be used in a table component? Currently, the cell is empty when no value is provided.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] Answered question 1 day ago

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Tom Waterbley [SLC] [DevOps Catalyst]9.52K Posted 1 day ago 1 Comment

DisplayValue overrides the Value, but you must still provide a valid Value even if you don't intend to display it.

This works:

source.EventTime.HasValue
   ? new GQICell { Value = source.EventTime.Value.UtcDateTime }
   : new GQICell { Value = default(DateTime).ToUniversalTime(), DisplayValue = "N/A" },
source.ActualStartTime.HasValue
   ? new GQICell { Value = source.ActualStartTime.Value.UtcDateTime }
   : new GQICell { Value = default(DateTime).ToUniversalTime(), DisplayValue = "N/A"},

Kind regards,
Tom

Ronald Gerard [SLC] [DevOps Enabler] Posted new comment 16 hours ago
Ronald Gerard [SLC] [DevOps Enabler] commented 16 hours ago

There is a bug where the DisplayValue of empty cells will be ignored if the cell Value is null. This will be fixed asap.

As you show, the workaround is indeed to use any value other than null to represent an empty/missing/unknown/undefined cell.

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