From: | Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com> |
---|---|
To: | Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Variable control patch |
Date: | 2016-01-07 07:34:32 |
Message-ID: | CAFiP3vy4iZ_hiNhGJBYcZZnV-td=7K=hQLRgvKyrPHai0LSfzQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi,
Please find attached patch for Variable control.
Usage:
1] In variables tab
id: 'spcoptions', label: 'Variables', type: 'collection', group: "Variables",
model: pgAdmin.Browser.Node.VariableModel, control:
'variable-collection', mode: [ 'edit', 'create'],
canAdd: true, canDelete: true, uniqueCol : ['name'],
variableCol : 'name', url: "getvars",
2] In database tab
id: 'spcoptions', label: 'Variables', type: 'collection', group: "Variables",
model: pgAdmin.Browser.Node.VariableModel.extend({hasDatabase:true}),
control: 'variable-collection', mode: [ 'edit', 'create'],
canAdd: true, canDelete: true, uniqueCol : ['name','database'],
variableCol : 'name', url: "getvars",
3] In Use roles tab
id: 'spcoptions', label: 'Variables', type: 'collection', group: "Variables",
model: pgAdmin.Browser.Node.VariableModel.extend({hasRole:true}),
control: 'variable-collection', mode: [ 'edit', 'create'],
canAdd: true, canDelete: true, uniqueCol : ['name','role'],
variableCol : 'name', url: "getvars",
Attachment | Content-Type | Size |
---|---|---|
variable_control_7_Jan.patch | text/x-patch | 26.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Björn Harrtell | 2016-01-07 07:47:38 | Re: ]GTK 3 |
Previous Message | Harshal Dhumal | 2016-01-07 07:26:28 | select2 cell and select2 backform control optionvalue issue fix |