Search code examples
c#crystal-reports

How to suppress CrossTab Row Headers in Crystal Reports


I have created a crosstab in crytal report, in which it is required to suppress the Row Headers of the Cross Tab,

I tried suppressing the Row-Header object, but by doing it, I still see the empty Row-Header cells.

Edit:

For example, I have Columns: Opening and Closing and Rows as Dates of some Month, So it would look like following in Cross Tab

               Opening      Closing
01/10/2010      500           600
02/10/2010      600           700
03/10/2010      700           800

So on and so forth. My purpose is to show only the data without the dates (which are Row headers) and without the headers Opening & Closing, which are column headers.

Is there a way to completely suppress Row Headers in CrossTab ??

Thanks in advance ..


Solution

  • In any version of Crystal Reports I've seen (haven't seen the more recent versions, though), you can't truly suppress the fields. While you can right-click on the field in the crosstab and check the Suppress checkbox, you'll still be left with an empty cell.

    Furthermore, even if you try to something like overlaying a square drawing object over the column or row header to try and hide it, the crosstab grid lines will still show through.

    Why would you want to remove the column and row headers, though? You'd be left with columns and rows without any meaning, unless you were going to add custom headers and rows yourself.