Skip site navigation (1) Skip section navigation (2)

Re: Feature Request: move column in edit grid

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Willy-Bas Loos <willybas(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Feature Request: move column in edit grid
Date: 2009-06-26 13:40:20
Message-ID: 937d27e10906260640q6f7d3988w8b42087c7b5390c@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-support
On Fri, Jun 26, 2009 at 2:11 PM, Willy-Bas Loos<willybas(at)gmail(dot)com> wrote:
>>No.
>>--
>>Dave Page
>
> So what would it take to implement that?

At first glance, this:

Index: pgadmin/frm/frmEditGrid.cpp
===================================================================
--- pgadmin/frm/frmEditGrid.cpp	(revision 7945)
+++ pgadmin/frm/frmEditGrid.cpp	(working copy)
@@ -115,6 +115,7 @@
     SetStatusBarPane(-1);

     sqlGrid = new ctlSQLEditGrid(this, CTL_EDITGRID,
wxDefaultPosition, wxDefaultSize);
+    sqlGrid->EnableDragColMove(true);

     // Set up toolbar
     toolBar = new ctlMenuToolbar(this, -1, wxDefaultPosition,
wxDefaultSize, wxTB_FLAT | wxTB_NODIVIDER);

It appears to work in a 30 second test, but I'm sure it will have
broken something non-obvious.

Regards, Dave.

-- 
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

In response to

pgadmin-support by date

Next:From: Dave PageDate: 2009-06-27 18:18:00
Subject: Re: Database COMMENT in pgAdmin III v1.10.0 RC1
Previous:From: Willy-Bas LoosDate: 2009-06-26 13:11:51
Subject: Re: Feature Request: move column in edit grid

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group