From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | pgAdmin 4 commit: Backform control for selecting multiple columns. |
Date: | 2016-03-22 16:52:38 |
Message-ID: | E1aiPXq-0005Zm-VT@gothos.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
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(dot)dhumal(at)enterprisedb(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-03-22 16:52:49 | Re: Control for selecting multiple columns [pgadmin4] |
Previous Message | Dave Page | 2016-03-22 16:41:37 | Re: [PATCH] Enhancement in sql-field control [pgAdmin4] |