Re: Feature request: context menu column sorting - Mailing list pgadmin-support

From Thom Brown
Subject Re: Feature request: context menu column sorting
Date
Msg-id bddc86151002030403p75d8ee93i9ef3688db0dc376f@mail.gmail.com
Whole thread Raw
In response to Re: Feature request: context menu column sorting  (Dave Page <dpage@pgadmin.org>)
Responses Re: Feature request: context menu column sorting  (Dave Page <dpage@pgadmin.org>)
List pgadmin-support
On 3 February 2010 12:00, Dave Page <dpage@pgadmin.org> wrote:
On Wed, Feb 3, 2010 at 11:58 AM, Thom Brown <thombrown@gmail.com> wrote:
> On 3 February 2010 11:57, Dave Page <dpage@pgadmin.org> wrote:
>>
>> On Wed, Feb 3, 2010 at 11:46 AM, Thom Brown <thombrown@gmail.com> wrote:
>> > Hi,
>> >
>> > Currently on pgAdmin III, to sort a column in the Edit data screen, you
>> > have
>> > to click on the filter icon (or select Sort / Filter from the Tools
>> > menu)
>> > and define sorts in there.
>>
>> Or right-click a column and select Sort Ascending or Sort Descending.
>
> Really?  That doesn't work on mine (v1.10.1).  I get greyed out
> copy/paste/delete options.

Right-click over the data, not the header.


D'oh!  Still, I'd like to see that (or one relevant to a column, not a cell) on right-clicking the header.

As for wxGrid, can't you use EVT_GRID_LABEL_RIGHT_CLICK on header to call wxGrid::SetCellBackgroundColour or wxGrid::SetLabelBackgroundColour?

Thom

pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: Feature request: context menu column sorting
Next
From: Dave Page
Date:
Subject: Re: Feature request: context menu column sorting