Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-04 Thread Guillaume Lelarge
Le 04/02/2010 09:39, Dave Page a écrit : > On Wed, Feb 3, 2010 at 11:40 PM, Quan Zongliang > wrote: >> On 2010-2-4 2:56, Guillaume Lelarge wrote: >>> >>> Just got home. This thread is interesting. It's been quite some time >>> that I wanted to create our own wxGrid widget. Something that will all

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-04 Thread Dave Page
On Wed, Feb 3, 2010 at 11:40 PM, Quan Zongliang wrote: > On 2010-2-4 2:56, Guillaume Lelarge wrote: >> >> Just got home. This thread is interesting. It's been quite some time >> that I wanted to create our own wxGrid widget. Something that will allow >> us to sort, filter more easily than the one

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Quan Zongliang
On 2010-2-4 2:56, Guillaume Lelarge wrote: Just got home. This thread is interesting. It's been quite some time that I wanted to create our own wxGrid widget. Something that will allow us to sort, filter more easily than the one we have now. Now that I know how to build a custom widget, it should

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Guillaume Lelarge
Le 03/02/2010 15:32, Thom Brown a écrit : > On 3 February 2010 14:01, Dave Page wrote: >>> For example, if I select the >>> equivalent of B4 through C10, upon right-clicking on that range I'd >>> want to see an option that would let me copy what has been selected. >> >> I'm not sure where the disa

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Thom Brown
On 3 February 2010 14:01, Dave Page wrote: >> For example, if I select the >> equivalent of B4 through C10, upon right-clicking on that range I'd >> want to see an option that would let me copy what has been selected. > > I'm not sure where the disabled cut/copy/paste context menu is coming > from

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Michael Shapiro
It looks like you can. ctrl-c will copy what is highlighted On Wed, Feb 3, 2010 at 7:47 AM, Thom Brown wrote: > > And going back to the greyed out copy/paste/delete options, why can't > we copy a column or a range of cells? For example, if I select the > equivalent of B4 through C10, upon right

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Dave Page
On Wed, Feb 3, 2010 at 1:47 PM, Thom Brown wrote: > And going back to the greyed out copy/paste/delete options, why can't > we copy a column or a range of cells? You can. Hit ctrl+c or press the Copy button. > For example, if I select the > equivalent of B4 through C10, upon right-clicking on t

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Thom Brown
On 3 February 2010 13:40, Dave Page wrote: > On Wed, Feb 3, 2010 at 12:30 PM, Thom Brown wrote: >> On 3 February 2010 12:22, Dave Page wrote: >>> >>> Setting the background colour isn't the issue, it's adding an icon to >>> indicate the sort direction which is the most valuable indicator imho. >

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Dave Page
On Wed, Feb 3, 2010 at 12:30 PM, Thom Brown wrote: > On 3 February 2010 12:22, Dave Page wrote: >> >> Setting the background colour isn't the issue, it's adding an icon to >> indicate the sort direction which is the most valuable indicator imho. >> > > Yes, and when you pointed out that I could r

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Thom Brown
On 3 February 2010 12:22, Dave Page wrote: > > Setting the background colour isn't the issue, it's adding an icon to > indicate the sort direction which is the most valuable indicator imho. > Yes, and when you pointed out that I could right-click a cell and select sorting options there, I found t

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Dave Page
On Wed, Feb 3, 2010 at 12:03 PM, Thom Brown wrote: > D'oh!  Still, I'd like to see that (or one relevant to a column, not a cell) > on right-clicking the header. Yeah, not sure why it isn't. > As for wxGrid, can't you use EVT_GRID_LABEL_RIGHT_CLICK on header to call > wxGrid::SetCellBackgroundC

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Thom Brown
On 3 February 2010 12:00, Dave Page wrote: > On Wed, Feb 3, 2010 at 11:58 AM, Thom Brown wrote: > > On 3 February 2010 11:57, Dave Page wrote: > >> > >> On Wed, Feb 3, 2010 at 11:46 AM, Thom Brown > wrote: > >> > Hi, > >> > > >> > Currently on pgAdmin III, to sort a column in the Edit data scr

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Dave Page
On Wed, Feb 3, 2010 at 11:58 AM, Thom Brown wrote: > On 3 February 2010 11:57, Dave Page wrote: >> >> On Wed, Feb 3, 2010 at 11:46 AM, Thom Brown wrote: >> > Hi, >> > >> > Currently on pgAdmin III, to sort a column in the Edit data screen, you >> > have >> > to click on the filter icon (or selec

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Thom Brown
On 3 February 2010 11:57, Dave Page wrote: > On Wed, Feb 3, 2010 at 11:46 AM, Thom Brown 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 the

Re: [pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Dave Page
On Wed, Feb 3, 2010 at 11:46 AM, Thom Brown 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 S

[pgadmin-support] Feature request: context menu column sorting

2010-02-03 Thread Thom Brown
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. What I'd like to be able to do is have something like the following when right-clicking on a column heading: Sort