Skip to content

RowBuilder🔗

Constructor🔗

new RowBuilder(String title)

Methods🔗

build🔗

Builds the object.

public Row build()

collapsed🔗

Whether this row should be collapsed or not.

Note: panels added directly to a row will be stripped by Grafana unless the row is collapsed

public RowBuilder collapsed(Boolean collapsed)

datasource🔗

Name of default datasource for the row

public RowBuilder datasource(DataSourceRef datasource)

gridPos🔗

Row grid position

public RowBuilder gridPos(GridPos gridPos)

id🔗

Unique identifier of the panel. Generated by Grafana when creating a new panel. It must be unique within a dashboard, but not globally.

public RowBuilder id(Integer id)

repeat🔗

Name of template variable to repeat for.

public RowBuilder repeat(String repeat)

title🔗

Row title

public RowBuilder title(String title)

withPanel🔗

List of panels in the row

Note: since panels added directly to a row will be stripped by Grafana unless the row is collapsed,

this option will set the current row as collapsed.

public RowBuilder withPanel(com.grafana.foundation.cog.Builder<Panel> panel)

See also🔗