Re: Control for selecting multiple columns [pgadmin4]

Поиск
Список
Период
Сортировка
От Harshal Dhumal
Тема Re: Control for selecting multiple columns [pgadmin4]
Дата
Msg-id CAFiP3vyUWEgzJR1O2mDTmSA=jVYqUEopT_Fq2HZioSz=6rRujw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Control for selecting multiple columns [pgadmin4]  (Dave Page <dpage@pgadmin.org>)
Ответы Re: Control for selecting multiple columns [pgadmin4]  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hi Dave,

I have used same control in primary key constraint for selecting multiple columns. So to test this control please extract attached table.zip file under schema node. This zip contains table, column and constraint node with primary key support (as constraint node has dependency on table and column node). Also you will need to apply multiselect control patch separately as this zip does not contain the same.


Thank you,

Harshal


-- 
Harshal Dhumal
Software Engineer 




On Tue, Mar 15, 2016 at 10:13 PM, Dave Page <dpage@pgadmin.org> wrote:
It seems to be missing the test dialogue?

On Tue, Mar 15, 2016 at 8:47 AM, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:
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 






--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: First pass at improving the dialogue borders.
Следующее
От: Neel Patel
Дата:
Сообщение: Re: [pgAdmin4][Patch]: Foreign Data Wrapper