Hi Dave, Currently there is no test dialogue to test this control. Also Ashesh has suggested some changes. Once I complete those changes; I'll resubmit the patch along with test dialogue to test it.
-- *Harshal Dhumal* *Software Engineer * EenterpriseDB <http://www.enterprisedb.com> On Tue, Mar 8, 2016 at 4:16 PM, Dave Page <dp...@pgadmin.org> wrote: > Hi, > > Do you have a test dialogue or similar in which I can test this code? > Ideally an addition to the test module would be good. > > Thanks. > > On Tue, Mar 8, 2016 at 7:34 AM, Harshal Dhumal < > harshal.dhu...@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 * >> >> >> >> EenterpriseDB <http://www.enterprisedb.com> >> >> >> -- >> 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 >