Bulk Data List
Export to create and manage list menus with categories, items, and buttons. Optimized and simple handling of item selection via callbacks.
openList
Opens a new list menu with categories, items, and buttons.
exports['orchid-bridge']:openList(data)
data
(table) — Menu configuration. Must include:
label
string
Menu title displayed at the top
categories
Category[]
Category:
- label
(string) — column label
- options?
(table, optional):
• size?
('small'|'mid'|'big') — determines column width fraction. 0.4
, 0.7
and 1.2
relatively to default width respectfully .
• noWrap?
(boolean) — prevents text wrapping in this column
items
Item[]
Item:
- text
(string[]) — text displayed in the column.
- args?
(table) — arbitrary data passed to button callbacks.
buttons
Button[]
Button:
- icon
(string) — FontAwesome icon name
- label
(string) — button tooltip or description
- onSelect
(function) — callback function invoked when clicked; receives itemIndex
and args
closeList
Closes the currently opened list menu.
exports['orchid-bridge']:closeList()
Last updated