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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Low Code App – Table Component – Sorting on IP Address Column

Solved1.81K views14th April 2023IP address low code app sorting
7
Stacey Van Colen [SLC] [DevOps Advocate]2.55K 28th March 2023 0 Comments

Hi Dojo,

I have a Table component on my Low Code app, which displays IP information.

When we try the sort the Column with the IP information, the sorting is currently done as a 'string'. As can be seen on the image below.

Would there be any way we can get this to sort as an 'IP Address'? This would greatly improve the user experience when looking through the information.

Thanks for the help!

Stacey Van Colen [SLC] [DevOps Advocate] Selected answer as best 14th April 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
7
Ronald Gerard [SLC] [DevOps Advocate]1.73K Posted 29th March 2023 1 Comment

As Toon already mentioned, there is currently no way yet to get a custom sort order for columns; they all use the default comparison for their column type.

A possible solution is to use a custom operator in the following way:

  1. Remove the original 'Network address' string column
  2. Add a new 'Sortable network address' column of type integer
  3. Fill in the cells of the new column as such:
    • Value = the IP address ranking
    • DisplayValue = the original IP address string

This ensures that the user only sees the IP string and never the underlying integer ranking.
It also still allows the user to sort dynamically by clicking the column header.

The script could look something like this:

Stacey Van Colen [SLC] [DevOps Advocate] Selected answer as best 14th April 2023
Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 31st March 2023

Brilliant solution Ronald! Do note that this has some smaller implications (such as it will now be treated as an integer column in all operators, the feeding capabilities will be different, etc.).

6
Toon Casteele [SLC] [DevOps Enabler]6.97K Posted 28th March 2023 5 Comments

There is no such thing as "natural sorting" (aka finding the multiple digit numbers in pieces of text and combining them into one for sorting purposes) in low code apps and dashboards right now. You will also notice this when using numbers in your folder structure in dashboards for instance.

You could use a custom operator for your GQI query to implement this in your use case though (still in soft-launch).

Sebastiaan Dumoulein [SLC] [DevOps Enabler] Posted new comment 31st March 2023
Bruno Dias [SLC] [DevOps Member] commented 28th March 2023

We could add a custom operator that converts an IP address to decimal and sort on the decimal value.
But ideally the decimal would be hidden because it’s meaningless. It is only useful for sorting.
Do you know if it is possible to sort a table based in a hidden column?

Ben Vandenberghe [SLC] [DevOps Enabler] commented 28th March 2023

Hi Toon – how would you handle a case like this with a custom operator? Because I believe that expectation here is that if the user clicks on the column header to sort the data, that it would use a specific logic to do that. I understand that you would be able to implement that logic with a custom operator, but the outcome of that, e.g. a ranking, would have to be outputted in a new column and the user would have then to rank on that column to get the desired sequence. But that doesn’t seem to me like what is desired here, and it would be not really intuitive for users. Or am I missing something here on how custom operators can be used?

Toon Casteele [SLC] [DevOps Enabler] commented 28th March 2023

No, Ben, you are correct. The best solution is to implement natural sorting everywhere in the front end code. But given that we don’t have that possibility right now, I indeed offered a solution that only works for server side sorting.

Toon Casteele [SLC] [DevOps Enabler] commented 28th March 2023

Bruno, that is another possible solution indeed. Given that GQI is conversational, you can first select the hidden column, then sort on it, and then do another select to get rid of it again. This should leave you with a correctly sorted table initially. However, like Ben says, the expectation here is probably to be able to do client side sorting on the fly. I don’t think that this is currently possible.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 31st March 2023

I’ve added an item on our backlog to investigate how easy it would be to support natural sorting in GQI (DCP208789). As GQI is an abstraction layer on top of all data sources, it will actually depend on the sorting capabilities of the underlying data sources. If the data sources do not support it, we would need to sort everything in GQI, which is something we don’t want to do for larger data sets.

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

Recent questions

DOM Definition relations returned in Definition query 0 Answers | 0 Votes
Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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