Grid with static and dynamic data

Hi,

I need to make a grid like an attached file what is very simple but the data in description field are fix and the data in value field should read from tag!

E.g. Imagine I have 3 machine and I want to monitor their uptime / downtime like :

MachineName Uptime downtime

Machine A Value Value
Machine B Value Value
Machine C Value Value

If I use class tag , I have to make tag also for machine name what is fix.

May be the solution is to make a fix value for the mentioned tag! but I dont know how to do this!

How can I make this kind of grid?!

Thanks

Parents
  • [quote]
    Posted By Norman E on 05 Dec 2019 09:28 AM
    Use a class tag as follows

    Define a class called 'MyGrid' with the following members 'Name', 'DownTime' and 'UpTime'

    Define a new project tag called 'GridData' with the data type 'MyGrid'

    In your Startup Script add the following

    $GridData[0].Name = "Machine A"
    $GridData[1].Name = "Machine B"
    $GridData[2].Name = "Machine C"

    [/quote]

    Thank you Norman E for the above comment.
    It was very helpful for my project also, regarding column Label.
Reply
  • [quote]
    Posted By Norman E on 05 Dec 2019 09:28 AM
    Use a class tag as follows

    Define a class called 'MyGrid' with the following members 'Name', 'DownTime' and 'UpTime'

    Define a new project tag called 'GridData' with the data type 'MyGrid'

    In your Startup Script add the following

    $GridData[0].Name = "Machine A"
    $GridData[1].Name = "Machine B"
    $GridData[2].Name = "Machine C"

    [/quote]

    Thank you Norman E for the above comment.
    It was very helpful for my project also, regarding column Label.
Children
No Data