grid and dashboard layouts #232
Unanswered
RossCampbellDev
asked this question in
Q&A
Replies: 1 comment
-
This is sadly how rows in work today in Grafana, it is a bit archaic and makes designing complex dashboard layouts with Grafonnet quite a challenge. Any 'static' panels need to come before any rows in the The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At present,
row.withPanels([])
only works as intended when used within autil.grid.makeGrid([])
- otherwise any panels added to the row will simply be invisible.If trying to make use of
row.withRepeat()
while not usingmakeGrid([])
, you have to define your row inside yourdashboard.withPanels([])
array, then append another array to that containing the panels that you would have put insiderow.withPanels([)
(if it made any sense)This then makes it impossible to combine some static panels (eg occurs only once within a dashboard) with anything that is repeated by use of
row.withRepeat()
because every panel mentioned repeats, wherever it occurs in thedashboard.withPanels([])
array.when using
makeGrid([])
we still repeat ALL mentioned panels, not just those within the gridusing v11.0.0
Beta Was this translation helpful? Give feedback.
All reactions