Open1
Tabulatorメモ

Tabulatorの表の中にinput(入力欄)やプルダウンをいれる
ドキュメント:https://tabulator.info/docs/6.2/edit#edit-builtin
columns
の中にeditor
で指定
▼例:入力欄
{
title: '入力欄サンプル',
field: 'inputsample'
editor: 'input'
}
▼例:プルダウン
{
title: 'プルダウンサンプル',
field: 'listsample'
editor: 'list',
editorParams: {
values: ['選択項目1', '選択項目2', '選択項目3']
}
}
プルダウンを複数選択にする場合は
editorParams: {
values: ['選択項目1', '選択項目2', '選択項目3'],
multiselect: true
}
multiselect: true
を追加
editor
で指定できるもの
ドキュメント:https://tabulator.info/docs/6.2/edit
- Input
- Textarea
- Number
- Range
- Checkbox
- Star
- Progress Bar
- Date
- Time
- Date Time
- List (Select/Autocomplete)