How to show a column in active mode regardless of its edit mode like GridViewSelectColumn

2 posts, 1 answers
  1. Nagisa
    Nagisa avatar
    14 posts
    Member since:
    Nov 2011

    Posted 19 Dec 2011 Link to this post


    I have a problem with showing column.
    I want to show a column in active mode regardless of its edit mode like GridViewSelectColumn.

    For example,
    I created a CheckBoxColumn like the source below.
    <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding Checked}" AutoSelectOnEdit="True" EditTriggers="CellClick" />

    And it is shown in gray when it is not selected.
    Is there any way to show it looks like in active mode (the style looks like it is in edit mode)  like  GridViewSelectColumn.

    Best Regards,
  2. Answer
    Maya avatar
    4062 posts

    Posted 19 Dec 2011 Link to this post

    Hi Nagisa,

    You can use GridViewDataColumn and define a CheckBox for its CellTemplate. For example:

    <telerik:GridViewDataColumn DataMemberBinding="{Binding Checked}" >
             <CheckBox IsChecked="{Binding Checked, Mode=TwoWay}" />


    Best wishes,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top