pgAdmin 4 commit: Backform control for selecting multiple columns. - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Backform control for selecting multiple columns.
Date
Msg-id E1aiPXq-0005Zm-VT@gothos.postgresql.org
Whole thread Raw
List 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.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(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [PATCH] Enhancement in sql-field control [pgAdmin4]
Next
From: Dave Page
Date:
Subject: Re: Control for selecting multiple columns [pgadmin4]