Page 1 of 1

How can I invert my Grid?

Posted: Mon Jun 20, 2005 12:54 pm
by 9526572
Hello,

how can I display data like this in a teegrid:


01.01.05 | 01.02.05 | 01.03.05 | 01.04.205
------------------------------------------------------------------------------
V1 25.75 | 12.23 | 89.09 | 16.98
V2 13.23 | 14.23 | 87.87 | 14.09


At the moment my grid displays data like this:

Text V1 V2
01.01.05 25.75 13.23
01.02.05 12.23 14.23
01.03.05 89.09 87.87
01.04.05 16.98 14.09

Is there a built-In-Function to invert Values to Columns?

Ciao

Roland

Posted: Mon Jun 27, 2005 3:17 pm
by Pep
Hi Roland,

this cannot be done with the ChartGrid, but you can use the StringGrid component (Delphi component) to accompish it.
The Demo Features project includes an example which demostrates how to show data into a stringGrid, you can find it under :
All Features->Miscellaneous->Grid To Chart