Labels for wt_Quarter

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

Moderator: Alex Zencovich

Labels for wt_Quarter

Postby BasPav » Fri Sep 29, 2006 8:29 am

When I wrap to wt_quarter I get labels like "1", "2", etc

I would like to change these to somthing like "Q1" or "Quarter 1".

How can I do this?

Thnx
Bas van de Pavert
BasPav
Developer
 
Posts: 24
Joined: Fri Sep 29, 2006 8:02 am
Location: Netherlands

Postby AlexZencovich » Fri Sep 29, 2006 9:39 am

You may use wt_custom + OnCustomWrapData event to set your own captions and codes
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

Postby BasPav » Fri Sep 29, 2006 11:22 am

Thnx for fast reply!!
Bas van de Pavert
BasPav
Developer
 
Posts: 24
Joined: Fri Sep 29, 2006 8:02 am
Location: Netherlands

Postby AlexZencovich » Fri Sep 29, 2006 11:24 am

For VCL you also may easy change captions with TPivotMap.Dimensions[].Items[].Name at any time (but call to TPivotGrid.RefreshData required)
Also you may get access to TPivotGrid.Rows[] (Columns[]) and change text labels directly in grid
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 3 guests

cron