Page 1 of 2

Horizontal Gridview in report no show all data

Posted: Wed Nov 10, 2010 2:42 am
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?

Horizontal Gridview in report no show all data

Posted: Thu Nov 11, 2010 1:55 am
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.

Horizontal Gridview in report no show all data

Posted: Thu Nov 11, 2010 2:28 am
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?

Horizontal Gridview in report no show all data

Posted: Thu Nov 11, 2010 3:17 am
by Alex K.
Hello,

Set the text color of this cell in Transparent.

Thank you.

Horizontal Gridview in report no show all data

Posted: Thu Nov 11, 2010 3:26 am
by jpascual
But I want to paint the bottom of the cell. This report does not paint the cell background color.

Horizontal Gridview in report no show all data

Posted: Thu Nov 11, 2010 5:32 am
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.

Horizontal Gridview in report no show all data

Posted: Thu Nov 11, 2010 6:11 am
by jpascual
where is the Process Cell event?

The CrossTab.StiCrossSummary haven't process Cell event.

Horizontal Gridview in report no show all data

Posted: Thu Nov 11, 2010 6:52 am
by Alex K.
Hello,

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

Thank you.

Horizontal Gridview in report no show all data

Posted: Thu Nov 11, 2010 6:55 am
by jpascual
this report show the same background color in all cells of the CrossTab.
I used GetCrossValueEvent in CrossTabSummary.

Horizontal Gridview in report no show all data

Posted: Thu Nov 11, 2010 7:24 am
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.