In this example you can learn how to use Virtualstringtree from GemSoft as a Grid.
This component can be used as a regular tree view but also as string grid,so it can replace regular stringgrid and dbgrid, but with much higher speed.
Not to mention customization.
Virtualstringtree is known for its speed, so adding 1000 or 10000 nodes takes a bit of a second.
In this tutorial you can learn how to variable columns and rows number, meaning to use variable data that should be shown, for example database table records etc.
Full source for this example can be found below
(code style formatted by http://hilite.me/ )