Welcome to the Xceed Community Sign in | Join | Help
Community Search  

How does v3 work with variable length rows?

Sort Posts: Previous Next
  •  09-04-2008, 4:58 PM Post no. 14931

    How does v3 work with variable length rows?

    I'd like to make sure that v3 supports a particular scenario:

    Consider a DataGridControl hosting a forum discussion. The grid will contain one column and many rows. Each row represents a "post" in an ongoing conversation -- kind of like the forum posts on this web site. Sounds straight-foward enough but I want to make sure that this sort of task is supported by the grid. Specifically:

    (1) Since some posts are long and some short, each row will have a different height. Is this a problem? Will the cells handle the wordwrapping? I'm assuming I'm OK if I define the cell template to contain a TextBlock and the TextBlock itself supports wrapping.

    (2) What happens in the scenario where a particular post in so long at that it exceeds the height of the grid? In other words, what happens if the grid height is 600px but a particular row has a heigh of 900px? Will the user be able to smoothly scroll down to read the entire post (row)? I only ask because I've had problems in the past with Xceed's WPF grid where a scrolling is "jumpy" -- i.e. one entire row at a time, making it impossible for a partial row to be visible... but as you can see, in the case of a really tall row, I need to be able to show a partial row.

    Thanks!

    David

  •  09-05-2008, 5:05 PM Post no. 14956 in reply to 14931

    Re: How does v3 work with variable length rows?

    Hi David, 

    The width of the column and the height of the grid should adjust automatically. I am not 100% certain how partial rows will react, but it should be fine. If you encounter any problems, don't hesitate to ask! 


    Technical Writer - Xceed Software

    Of all the things I've lost, I miss my mind the most. - Mark Twain
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.