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

From Andreas Pflug
Subject Re: Query tool results in grid
Date
Msg-id 43F99C99.9030109@pse-consulting.de
Whole thread Raw
In response to Query tool results in grid  (edigeronimo@picoip.com)
Responses Re: Query tool results in grid
List pgadmin-hackers
edigeronimo@picoip.com wrote:
> I've attached a preliminary patch to display the results of the Query Tool
> using a grid control instead of a list.

Sorry to frustrate you, but using the grid is provenly even more
ineffective (on _all_ platforms) than the current one. wxGrid is known
to degrade drastically for bigger sizes. That's why View Data uses its
own implementation of wxTable. In general, wxGrid is an ugly piece of
code difficult to handle, wx-dev have plans to rewrite it from ground
for good reasons.

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.

Regards,
Andreas

pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: detecting serials in 8.1
Next
From: "Magnus Hagander"
Date:
Subject: Decreasing link dependencies