Backform control for selecting multiple columns.
Usage:
{
id: 'columns', label: '{{ _('Columns') }}',
type: 'collection', group: '{{ _('Definition') }}', editable:true,
canDelete: true, canAdd: true, control: Backform.MultiColumnSelectControl,
deps: ['index'], node: 'column',
model: pgBrowser.Node.Model.extend({
keys: ['column'],
defaults: {
column: undefined
}
})
}
Note: When using this control model should have column attribute. And node property should be column.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=ddd476893766550eeae46d0bf830f007323acd58
Author: Harshal Dhumal <harshal.dhumal@enterprisedb.com>
Modified Files
--------------
web/pgadmin/browser/static/js/node.ui.js | 40 ++++++++++++++++++++++++++++++++
web/pgadmin/static/css/overrides.css | 8 ++++++-
2 files changed, 47 insertions(+), 1 deletion(-)