Hi Community,
I have a start time and end time column and would like have different coloring
- if and event is in the past (current time/now > stop time)
- and if the event is currently running (current time/now between start and end time).
How can I achieve this when using the timelime component?
Best regards,
Felix
Hi Felix,
I believe the best way to approach this is through a custom operator in GQI that reflects the state of the item. This could add an enum value indicating whether the item is in progress, waiting to start, or has already happened. You can then use the value of this column in the template editor to color the items.
At the moment, the timeline itself does not support comparing values to the current time.
Kind regards,
Robin

Hi Robin,
Thanks for the clarification.
Then I'll try using a custom operator or an ad hoc data source.
Best regards,
Felix