Skip to contents

Specify a "layout" state

Usage

state_layout(
  ncol = 1,
  page = 1,
  sidebar = FALSE,
  viewtype = c("grid", "table"),
  visible_filters = NULL
)

Arguments

ncol

Number of columns of panels to show.

page

The page number to show.

sidebar

Should the sidebar be shown?

viewtype

The type of view to show ("grid" or "table").

visible_filters

A vector of variable names to add as visible filters in the sidebar.