Expanding rows when only 1 item in dimension

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

Moderator: Alex Zencovich

Expanding rows when only 1 item in dimension

Postby BasPav » Mon Dec 17, 2007 9:48 am

Alex, I heve the following problem(s):

Problem 1:

I use a table like this:

ID ReaderShort ReaderName BookTitle
10 AZ Alex Zencovich A
4 AZ Alex Zencovich B
11 AZ Alex Zencovich C
12 AZ Alex Zencovich E
3 BvdP Bas van de Pavert B
6 BvdP Bas van de Pavert D
7 BvdP Bas van de Pavert F
8 BvdP Bas van de Pavert H
9 BvdP Bas van de Pavert J
15 MM Marylin Monroe W
5 MM Marylin Monroe X
13 MM Marylin Monroe Y
14 MM Marylin Monroe Z

In the cube I have dimensions: ReaderShort,Readername,Booktitle
I actvate the cube and put the dims on the ROW side.

Click [+] for AZ --> AZ expands to Alex Zencovich
Click [+] for Alex Zencovich --> Collapse instead of expand

If you click [+] for whole column then it works, but cannot collapse [+] should change to [-].

Problem2: (Related to problem 1 ??)

I use this code:

var iR,iC:integer;
begin
for iR:=0 to MainForm.PivotMap1.RowCellsCount-1 do
ShowMessage('Row: '+IntToStr(iR)+CrLf+
'RowCaption: '+MainForm.PivotMap1.RowCells[iR].Caption);
end;

I find that for RowCells[0] AND RowCells[1] both show a caption of 'AZ' while if the second dimension has more than one cells then
RowCells[1] shows the correct caption.

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

Postby AlexZencovich » Mon Dec 17, 2007 8:58 pm

I'll check it. I was already reported about some problem with group expand/collapse so we work on it.
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 5 guests

cron