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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgadmin-support by date

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