Re: Control for selecting multiple columns [pgadmin4] - Mailing list pgadmin-hackers

From Harshal Dhumal
Subject Re: Control for selecting multiple columns [pgadmin4]
Date
Msg-id CAFiP3vyqicsueu0YnMRGHpX62ioehRsJyvgXUr_bGbRpoC3ojw@mail.gmail.com
Whole thread Raw
In response to Control for selecting multiple columns [pgadmin4]  (Harshal Dhumal <harshal.dhumal@enterprisedb.com>)
Responses Re: Control for selecting multiple columns [pgadmin4]
List pgadmin-hackers
Hi,

PFA generalized updated patch for backform multiSelectControl.

-- 
Harshal Dhumal
Software Engineer 




On Tue, Mar 8, 2016 at 1:04 PM, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:
Hi,

PFA backform control for selecting multiple columns.(This control depends on column node.)

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.




-- 
Harshal Dhumal
Software Engineer 




Attachment

pgadmin-hackers by date:

Previous
From: Lev Lazinskiy
Date:
Subject: Adding to Documentation
Next
From: Harshal Dhumal
Date:
Subject: Primary key constraint [pgadmin4]