Added the possibility to use "option" field type outside a group. This is convenient to create just a single checkbox.
This commit is contained in:
parent
64af46b685
commit
2e847460f4
10 changed files with 117 additions and 26 deletions
|
@ -17,7 +17,7 @@ async function ajaxListTx(tx, params, queryFun, columns, options) {
|
|||
columnsNames.push(col.name);
|
||||
|
||||
if (col.raw) {
|
||||
columnsSelect.push(tx.raw(col.raw));
|
||||
columnsSelect.push(tx.raw(col.raw, col.data || []));
|
||||
} else if (col.query) {
|
||||
columnsSelect.push(function () { return col.query(this); });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue