[Lazarus] External/out-of-tree LCL widgetset
Martin Schreiber
mse00000 at gmail.com
Tue Dec 5 13:47:20 CET 2017
On Tuesday 05 December 2017 13:01:43 Michael Schnell via Lazarus wrote:
> On 05.12.2017 12:16, Martin Schreiber via Lazarus wrote:
> > What is wrong with TDBGrid???
>
> As I quoted, Graeme claims it's slow.
>
I doubt it. At least the MSEgui DB-grids are not slow. DB-grids get the data
from dataset field buffers for the visible rows only, for strings it means to
fetch a UnicodeString by copying a pointer.
TDBWidgetGrid has columns where the placed TDB*EditWidget defines the colum
data type and edit functionality of the column. Any edit widget can build a
data column, also data-buttons, lookup-dropdown-widgets, images, sliders,
dialog widgets...
TStringGrid on the other hand needs a local copy of the whole recordset which
looks suboptimal and it has limited functionality without additional
programming and endless StrTo*() and *ToStr() conversions.
Martin
More information about the Lazarus
mailing list