Facility Control

 View Only
  • 1.  Sorting in a Parameter Table

    Posted 06-19-2017 15:51
    Hi

    I have a paramter table populated with a bunch of parameters. I'd like to sort the parameter table ascending or descending based on one of the parameters.
    e.g. I have some parameters like "EventType", EventTime", EventRef" and I'd like to sort the table containing these parameters descending after the paramter "EventTime".

    Is that possible?

    Thanks,

    T


  • 2.  RE: Sorting in a Parameter Table

    Posted 06-19-2017 17:58

    Hi Tobias.
    There is nothing in place that will allow you to sort automatically (based on a parameter).
    There IS a configuration property you can add inside of your param tag:

    <config key="w.sortable">true</config>

    This will allow a user to click on one of the headers to sort the table.


    There is another table type called a "Script Table" that allows you to populate each cell of the table separately... you could use something like this to manage sorting on your own.

    Cheers.

    James


    #DashBoard