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

From Harshal Dhumal
Subject Control for selecting multiple columns [pgadmin4]
Date
Msg-id CAFiP3vz+Da-8=19qfhpN1ikYhb08-QC7YpiLghq7Zj7AsVMnPA@mail.gmail.com
Whole thread Raw
Responses Re: Control for selecting multiple columns [pgadmin4]
Re: Control for selecting multiple columns [pgadmin4]
List pgadmin-hackers
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: Surinder Kumar
Date:
Subject: Re: [pgAdmin4] [Patch]: Grant Wizard
Next
From: Surinder Kumar
Date:
Subject: Re: [pgAdmin4] [Patch]: Grant Wizard