|
You’re not using a custom cell
renderer right? If you are you should be setting hScrollPolicy to offin the
cell renderer. I don’t know why the default cell renderer wouldadd in
the scrollbar, doesn’t seem to make sense. But maybe you could try using
your own cell renderer, perhaps a Label that simply sets its text in the
setValue method and see how that goes. Matt From: Robert
Brueckmann [mailto:[EMAIL PROTECTED] I have a datagrid that has 6 columns and
it about 20 rows high. I send it as one page to the printer using the
PrintJob class, it prints the datagrid so everything fits within the boundaries
of the piece of paper but the problem is, some of the text in the cells is
wider than the printer-friendly adjusted widths of the columns that I guessthe
internal PrintJob class is handling or whatever mechanism to send an objectto
a PrintJob class is doing. It wouldn’t be so bad if the text
got cut off, but instead of getting cut off, the entire cell is replaced with a
horizontal scrollbar that completely hides the contents of the cell and
that’s what gets printed…a random scatter of cells that are simply
horizontal scrollbars. Is there any way to prevent the horizontal
scrolling? I can’t find anything in the DataGridColumn or
DataGridRow classes…ideas? Robert L. Brueckmann Web Developer Merlin Securities,LLC p: 212.822.4821 This message contains information
from Merlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone orby
replying to this transmission.
Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed by Merlin Securities, LLC and may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.
|
- RE: [flexcoders] datagrid cell scrollbars Matt Chotin
- RE: [flexcoders] datagrid cell scrollbars Robert Brueckmann

