Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developers:plugin_listswitch [2021/04/10 21:53] pdsci-admin |
developers:plugin_listswitch [2021/04/10 22:02] (current) pdsci-admin [List Switch: How to manage Backend Lists a little more convenient] |
||
---|---|---|---|
Line 38: | Line 38: | ||
**List Switch Plugin (after)** | **List Switch Plugin (after)** | ||
<sxh> | <sxh> | ||
+ | columns: | ||
id: | id: | ||
label: ID | label: ID | ||
Line 51: | Line 52: | ||
type: inetis-list-switch | type: inetis-list-switch | ||
icon: true | icon: true | ||
+ | </ | ||
+ | |||
+ | The //icon: true// setting shows a hooklet for //on// and a ' | ||
+ | |||
+ | If neither a hooklet/x or yes/no fits the requirements, | ||
+ | <sxh> | ||
+ | columns: | ||
+ | id: | ||
+ | label: ID | ||
+ | type: number | ||
+ | sortable: true | ||
+ | title: | ||
+ | label: Title | ||
+ | type: text | ||
+ | searchable: true | ||
+ | sortable: true | ||
+ | visible: | ||
+ | label: Visible | ||
+ | type: inetis-list-switch | ||
+ | icon: false | ||
+ | textTrue: ' | ||
+ | textFalse: ' | ||
</ | </ |