Re: Query tool results in grid

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: edigeronimo(at)picoip(dot)com
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Query tool results in grid
Date: 2006-02-20 10:40:25
Message-ID: 43F99C99.9030109@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

edigeronimo(at)picoip(dot)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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-02-20 14:51:54 Decreasing link dependencies
Previous Message Andreas Pflug 2006-02-20 10:31:44 Re: detecting serials in 8.1