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 -- _______________________________________________ Lazarus mailing list [email protected] https://lists.lazarus-ide.org/listinfo/lazarus
