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
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.
I didn't even think of that, though now that you mention, that would explain it. WebGrid can't wrap something unless there's some kind of spacing character for it to wrap with. Hopefully this will help someone else who encounters similar behavior in the future - thanks for sharing!