How to hide weird ghost column

3 posts, 0 answers
  1. Jeramy
    Jeramy avatar
    12 posts
    Member since:
    Sep 2015

    Posted 20 Jan Link to this post

    I cannot seem to figure out what this column is or how to get rid of it. There is a very narrow column that appears all the way to the left in the GridView by default. It has no content, but can be moved around in between the other columns. Can anyone help?

    I've attached an image to explain what I am talking about. Here's my xaml for the GridView...

     <telerik:RadGridView x:Name="VariablesGridView"
                                 ItemsSource="{Binding Sequence.Variables}"
                                 CanUserSortColumns="False"
                                 CanUserInsertRows="False"
                                 AutoGenerateColumns="False"
                                 RowDetailsVisibilityMode="VisibleWhenSelected"
                                 ShowGroupPanel="False"
                                 RowIndicatorVisibility="Collapsed"
                                 SelectionMode="Multiple">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" IsReadOnly="False" IsFilterable="False"/>
                    <telerik:GridViewDataColumn CellTemplate="{StaticResource VariableTypeTemplate}" Header="Type" IsReadOnly="False" IsFilterable="False"/>
                    <telerik:GridViewDataColumn DataType="system:Object" DataMemberBinding="{Binding Value}" Header="Value" IsReadOnly="False" IsFilterable="False"/>
                </telerik:RadGridView.Columns>

                <telerik:RadContextMenu.ContextMenu>
                    <telerik:RadContextMenu x:Name="VariablesContextMenu"
                                                    ItemContainerStyle="{StaticResource RadMenuItemStyle}"
                                                    Opened="ContextMenu_Opened"
                                                    IconColumnWidth="0"
                                                    ItemClick="ContextMenu_ItemClick" />
                </telerik:RadContextMenu.ContextMenu>
                
            </telerik:RadGridView>

  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 25 Jan Link to this post

    Hello Jeramy,

    Looking at the image, the element appears to be the frozen columns separator that's related to RadGridView's frozen columns feature. You can disable it by setting the CanUserFreeze property to false and this article provides some additional details on the functionality.

    I hope this helps.

    Regards,
    Petya
    Telerik
    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jeramy
    Jeramy avatar
    12 posts
    Member since:
    Sep 2015

    Posted 26 Jan in reply to Petya Link to this post

    Thanks, Petya! This solved my issue.
Back to Top