mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-12 12:06:38 -05:00
Better explain the dashboard_type variable in the readme
This commit is contained in:
parent
58e466681e
commit
1b2ed30f31
1 changed files with 4 additions and 1 deletions
|
@ -195,7 +195,10 @@ Create a model that extends the `DashboardModel` class and override variables th
|
|||
|
||||
#### DashboardModel variables
|
||||
|
||||
* `$dashboard_type`: The dashboard type (this can be `view` for a viewable table or `edit` for an editable list)
|
||||
* `$dashboard_type`: The dashboard type:
|
||||
* `view`: Display a viewable table showing the data
|
||||
* `edit`: Provides a list of rows and the option to edit their contents
|
||||
* `list`: Allows another model to use this one to create an editable list of one or more items
|
||||
* `$dashboard_heading`: This sets the heading that appears on the dashboard page; not setting this will use the model name
|
||||
* `$export`: This enables a button that allows the table to be exported as a spreadsheet
|
||||
|
||||
|
|
Loading…
Reference in a new issue