Re: Query tool results in grid

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Query tool results in grid
Дата
Msg-id 43F99C99.9030109@pse-consulting.de
обсуждение исходный текст
Ответ на Query tool results in grid  (edigeronimo@picoip.com)
Ответы Re: Query tool results in grid  ("Edward Di Geronimo Jr." <edigeronimo@xtracards.com>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: detecting serials in 8.1
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Decreasing link dependencies