Home RAP

Width of CrostabColumn

edited January 2004 in RAP
Hi!
When crosstab column is created, it takes width informations calculated on
Field.Datasize (let us say speak only for data columns-not on calculations).
Thsi is usually not nice, because columns are too wide and space on page is
lost without rerason.
Is there any way to recalculate Column width of "data" based crosstab
columns.
THX
P.S.
Sorry if there is an answer in newsgroup...buto couldn't find it!
Damir vadas

Comments

  • edited January 2004

    I think the columns are calculated based upon the widest text in the column.
    There are some Crosstab events that can be used to modify the caption text.
    See demo ct127.pas in RBuilder\Demos\Crosstab.

    If you want to customize the rendering of the crosstab, you can create a
    custom crosstab renderer class and register it with RB. See ppCtRend.pas in
    RBuilder\Source.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.