use EventTable
A table is a set of configurable columns that represents events fields or sample fields.
You can filter out the elements with some query parameters. Then each row is an event. The events can be filtered and sorted with the URL query, or have a default setting in the configuration. Follow the example of Visualize EventTable for the creation of the table and the JSON structure to write the JSON code.
Let's take into account example of the EventTableBundle created previously and analyse the code and it's behaviour.



The table is straight forward and goes directly to the cols (check the cols description).
First 3 cols are not-editable and informative about the event. The go button is created and gives a quick link to the timeline.


Next column is type:


The "RADIO" behaviour on type "tags" (as explained on JSON structure - behaviour) means that only one of the tags that are in the filter (here: "PLANNED" or "UNPLANNED") can live at the same time: if you click on one tag to set it, the others are automatically removed.
column: Filter
Another example of "RADIO" behaviour but on type "list" is the next column on our table:



As on the type "tags", here we can choose only one element from the filter (here: "FILTER1" or "FILTER3" or "FILTER3").
next 2 columns: other LIST and Final info are having similar behaviour: "TOGGLE".
TOGGLE
means that each tag that are displayed are independent and several of them can live together:


last two columns permits to input text: Input text 1 and Input text 2:
By clicking on the little icon situated at ever row of those columns, the input box will open. What you can write inside of it is limited by the "pattern" specified in your code (here: "-?\d+"), which means only numbers are acceptable.



The way how to use the JSON structure and all the different options is explained here.
Your ADMIN could create a bookmark that takes you to the EventTable.
Last updated
Was this helpful?