painting columns

Discussion forum for PivotCube VCL users. Common questions. Bug and problem reports

Moderator: Alex Zencovich

painting columns

Postby Nasguone » Thu Jun 14, 2007 12:37 pm

It would like to know if and possivel paints the columns of pivogrid. column (1) column (2) column (3)
yellow red green

I tried following codigo but it paints all cell.

CCell := dm.pvmConsult.ColumnCells[rowindex];
if (CCell <> nil) and (CCell.Owner <> nil) then
begin
if ccell.Owner.ChildCount < 5 then
begin
rank := dm.pvmConsulta.Ranks[columnindex,rowindex,measureindex];
if rank = 1 then
Cell.Color := clFuchsia;


grateful E.C.S
Nasguone
Guest
 
Posts: 3
Joined: Wed Apr 25, 2007 8:44 pm

Postby AlexZencovich » Thu Jun 14, 2007 1:59 pm

Please see demo example source code for PivotGrid1GetCellValue event handler.
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 1 guest

cron