Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
Text Wrap & StationaryMargins
posted

I have a grid that has the StationaryMargins set to HeaderAndFooter, a RowHeightDefault of Unit.Pixel(20) and a fixed control height of 300 pixels.  I had to set the RowHeightDefault so UltraWebGrid would stop filling all the vertical space regardless of how many rows there were and I had to set a fixed control height so that the StationaryMargins setting would make a difference.

But now whenever I overflow one of my cells, even though I have RowStyleDefault.Wrap set to true, the text doesn't wrap, it just gets cut off.  How can I make text wrap play nice with these settings?

 Thanks,

Matt

Parents
  • 215
    posted

    nevermind, stupid testing mistake on my part.  I was using the string 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff' to test to see if it would wrap.  Obviously it won't seeing as how there are no line breaks in that string.  Writing normal sentences with spaces works just fine, however, so there never really was an issue.

Reply Children
No Data