Skip to content

Struct aggregation : per aggregation configuration option to transpose data so records are in columns not rows #731

@cjohnsonuk

Description

@cjohnsonuk

Feature Description

I would like the option to display aggregation data records in columns instead of rows. One column per record, as many rows as there are included in the cols: option of the struct definition markup.

In some data sets I only have a small number or records to show but each record has a lot of values. This does not display well on narrow screens (or wide ones where there are a lot of columns).
Something along the lines of a "show records in columns" option

---- struct table ----
schema: incident_records
cols: %padeid%,reported_date,team,account,status,resolved_date
dynfilters: 1
showrecordsincolumns: 1
max: 5
----

or an inferred 'records in columns' by replacing the cols: option with a rows: option

---- struct table ----
schema: incident_records
rows: %padeid%,reported_date,team,account,status,resolved_date
dynfilters: 1
max: 5
----

This would also allow replacing the struct data table that appears at the top or bottom of a page controlled by the "plugin»struct»bottomoutput" and "plugin»struct»topoutput" configuration options with something that I can control where in the page it appears, what fields are in it and allows the viewer the ability to edit the struct values for the page without having to go in to edit the page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions