Gettting extra column in Radgridview(but no column width is set)

2 posts, 0 answers
  1. Karthik Reddy
    Karthik Reddy avatar
    3 posts
    Member since:
    Jul 2015

    Posted 24 Jul 2015 Link to this post

    I am binding a RadGridView to a dynamic data source that can contain multiple numbers of columns. A blank column is always being displayed to the right of the grid and this column can not be selected. I am not adding this column in code and cannot see this column in the columns collection of the grid. I have googled and found a solution as adding column width as "*". But if i do so my window is going to infinite size as i have not defined max width(Reason for not defining max width is they are using at multiple places in the project).
  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 27 Jul 2015 Link to this post


    It seems RadGridView is measured with infinity in this scenario. Generally, I would not recommend you defining RadGridView (or any virtualized control) in panels like ScrollViewer,DockPanelStackPanel or Grid with Row.Height=Auto as they measure its content with infinity and the UI virtualization of the grid will be broken. Consequently, there will be also performance degradation. 

    You can place RadGridView in a Grid with Row.Height="*" instead.  You can also refer to the online documentation explaining how the UI virtualization works. 

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top