Re: Query tool results in grid - Mailing list pgadmin-hackers

From Edward Di Geronimo Jr.
Subject Re: Query tool results in grid
Date
Msg-id 3261.67.83.175.202.1140463755.squirrel@67.83.175.202
Whole thread Raw
In response to Re: Query tool results in grid  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: Query tool results in grid  (Dave Page <dpage@vale-housing.co.uk>)
List pgadmin-hackers
> We need a rewrite of ctlSqlResult, but it must base on a virtual
> wxListBox or wxListView, i.e. maintaining the data ourselves. On the
> long run, extending ctlSqlBox to use it in View Data would be desirable.

My concern isn't speed but rather functionality. It doesn't really matter
to me if wxGrid is 10x slower than wxListView if wxListView doesn't do
what I need. It would make my life a lot easier in at my job if I could
copy arbitrary subsets of the results into the clipboard. I almost never
want to copy entire rows at a time. As far as I can tell from the
documentation, you can't do that with wxListView. As far as I'm concerned,
this feature is the difference between pgAdmin being pleasant to use
verses being one of those programs you curse at all the time.

My full intentions were to improve the implementation as soon as I got the
base functionality working ok. I assumed a custom table class would be
necessary for decent performance. I also intended on sharing as much code
as possible between the result view and the view data grid.

Also, I'm not seeing the relevance of ctlSQLBox. It doesn't sound useful
at all to me for dealing with table data.

If you still think I should stop, let me know. If I'm missing something in
the documentation and there is a better way to get the functionality I
want, let me know.

Ed



pgadmin-hackers by date:

Previous
From: Kris Jurka
Date:
Subject: Re: detecting serials in 8.1
Next
From: Dave Page
Date:
Subject: Re: Query tool results in grid