Horizontal Gridview in report no show all data

Stimulsoft Reports.NET discussion
jpascual
Posts: 68
Joined: Mon Jul 12, 2010 6:45 am
Location: Palencia

Horizontal Gridview in report no show all data

Post by jpascual »

Hi, I have a grid that grows horizontally. If you have a lot of data the datasource, I do not see all the data.

Enclosed is a sample file. "How I can fix this somehow?
Is there any way for when the end of the page, create the new grid below with the missing data?
Attachments
689.Report.xml
(635 Bytes) Downloaded 179 times
688.SampleReportARGB.mrt
(9.22 KiB) Downloaded 185 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Horizontal Gridview in report no show all data

Post by Alex K. »

Hello,

Instead Cross-Data component you can use Cross-Tab with propertie Wrap set to true.
Please see the report in attachment.

Thank you.
Attachments
691.SampleReportARGB.mrt
(8.7 KiB) Downloaded 334 times
jpascual
Posts: 68
Joined: Mon Jul 12, 2010 6:45 am
Location: Palencia

Horizontal Gridview in report no show all data

Post by jpascual »

Thanks, it was what I was looking for but I have a problem.
I want to paint the cells in the color, the 'CrossTab1_Sum1'.
I put this code in the CrossTab1_Sum1:

Code: Select all

public void CrossTab1_Sum1__GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
        {
            e.Value = "0";
        }
        
        public void CrossTab1_Sum1_GetValue(object sender, Stimulsoft.Report.Events.StiGetValueEventArgs e)
        {
            ((Stimulsoft.Report.CrossTab.StiCrossSummary)sender).Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(ARGBToColor(Table12.Color));                ;
        }

It does not work, do you know why?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Horizontal Gridview in report no show all data

Post by Alex K. »

Hello,

Set the text color of this cell in Transparent.

Thank you.
Attachments
692.SampleReportARGB.mrt
(8.71 KiB) Downloaded 327 times
jpascual
Posts: 68
Joined: Mon Jul 12, 2010 6:45 am
Location: Palencia

Horizontal Gridview in report no show all data

Post by jpascual »

But I want to paint the bottom of the cell. This report does not paint the cell background color.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Horizontal Gridview in report no show all data

Post by Alex K. »

Hello,

Please put this code in Process Cell event instead Get Value

Code: Select all

((Stimulsoft.Report.CrossTab.StiCrossSummary)sender).Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(ARGBToColor(e.Value.ToString()));
Thank you.
jpascual
Posts: 68
Joined: Mon Jul 12, 2010 6:45 am
Location: Palencia

Horizontal Gridview in report no show all data

Post by jpascual »

where is the Process Cell event?

The CrossTab.StiCrossSummary haven't process Cell event.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Horizontal Gridview in report no show all data

Post by Alex K. »

Hello,

Please check the latest prerelease build and let us know about the result.

Thank you.
jpascual
Posts: 68
Joined: Mon Jul 12, 2010 6:45 am
Location: Palencia

Horizontal Gridview in report no show all data

Post by jpascual »

this report show the same background color in all cells of the CrossTab.
I used GetCrossValueEvent in CrossTabSummary.
Attachments
694.SampleReportARGB[1].mrt
(8.82 KiB) Downloaded 208 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Horizontal Gridview in report no show all data

Post by Alex K. »

Hello,

The Process Cell event was added in the latest release (2010.3.800) to make operations with values in the cells of a cross-tab.
Please check this report on the latest prerelease build.

Thank you.
Post Reply