Crosstab sizing question

4 posts, 0 answers
  1. Stargazer
    Stargazer avatar
    73 posts
    Member since:
    Jan 2007

    Posted 08 Jun 2009 Link to this post

    Hello everybody,

    I'm wondering if Is there anyone who can help me with this one.

    Basically, I have a report organized as follows:

    - Page Header section;
    - Report Header Section
    - Detail section (empty);
    - Report Footer Section;

    In the Page Header, I have a fixed size header, with several fields and static info;
    In the Report Header I have a crosstab containing dynamic info coming from DataBase;
    In the detail, I have nothing.
    In the Report Footer (or Page Footer, I still don't know), I'll have info identical to the one on the Page Header.

    What Im trying to accomplish is to make sure that my crosstab is always of thew same width as the shape delimiting the info on the Page Header.

    I've tried almost every event of the Report to no avail... How can I make this thing work?

    Thanks!
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Jun 2009 Link to this post

    Hi Stargazer,

    Thank you for the explanation.
    Your scenario cannot be accomplished exactly as described, but you can achieve the same behavior (i.e. a horizontal line) if you nest the crosstab in a panel item and set solid top border with desired width and padding. This way the panel would stretch itself according to the crosstab. Of course this is only applicable if your case allows to have the horizontal line "moved" to the same section where the crosstab is.

    Regards,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Stargazer
    Stargazer avatar
    73 posts
    Member since:
    Jan 2007

    Posted 12 Jun 2009 Link to this post

    Hi Steve!

    In fact, this may indeed help. My only concern, which I'll have to check and test, is that all the pages must look the same, only the data is "allowed" to change. So you can have a better idea, the report is a school grade "map". One line for each student, several columns for the number of missed classes and the grades.

    Right now I'm having a problem that is if the students are enough to break a page, I have no crosstab header :S But if I put the crosstab on the detail section, I get several times over the crosstab, on for each line on my database...

    Thanks!
  5. Stargazer
    Stargazer avatar
    73 posts
    Member since:
    Jan 2007

    Posted 12 Jun 2009 Link to this post

    It seems I won't be able to cut it with this approach. Maybe a small example would give a nice idea of what I need to do... I'll open a support ticket for this one. :)
Back to Top