On 3 February 2010 12:00, Dave Page <dp...@pgadmin.org> wrote:

> On Wed, Feb 3, 2010 at 11:58 AM, Thom Brown <thombr...@gmail.com> wrote:
> > On 3 February 2010 11:57, Dave Page <dp...@pgadmin.org> wrote:
> >>
> >> On Wed, Feb 3, 2010 at 11:46 AM, Thom Brown <thombr...@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

Reply via email to