Originally shared by David Berneda

Originally shared by David Berneda

Preparing a new component library for next release: "virtual" TeeGrid

A totally abstract library to display data in "grid" or "table" format. Same code without ifdefs works with VCL, FMX and LCL. It does not depend on TCustomGrid. Its pure written from scratch. Just some System.* units are necessary.

No dependency on database units or datasets, a Grid.Data property (of TVirtualData class) can be set to any custom class capable of providing data for rows and columns. An example is a small class that links TeeGrid with any TeeBI data item. Another example can be a small class to bind any array.

TeeGrid features include all (or most) ones found in TGrid / TDBGrid controls and more: Subcolumns, per-column formatting, individual row heights, expandable rows and columns groups, multi-line text, custom drawing, GDI+ in VCL, embedding extra controls in any row or cell (including sub-TeeGrids !), themes, pixel scrolling, auto-sizing, hover/touch effects and much more.

Hope to have some "alpha" version ready asap. Total code is just few K lines of code







Comments

  1. Thomas Mueller yep, TeeBI requires features not found in standard vcl/fmx grid controls and not possible to extend or customize, so the only solution is to make a new one from zero. 3rd party grids can also be used with TeeBI via small "plugins" classes, so this new TeeGrid will be just a new normal "plugin" too

    ReplyDelete
  2. very cool. It's really nice to see people continuing to come up with innovative stuff for Delphi!

    ReplyDelete
  3. David Schwartz oops, not yet so innovative. First step is to be "on par" with most common features, then lets see :-)

    ReplyDelete
  4. Well, I'm referring to the fact that it's not the usual TGrid/TDBGrid/TStringGrid descendant with a few new features added. And it's using an interface, which have been around since D3, although we see very few components and libraries that do much with them.

    ReplyDelete

Post a Comment