Enable edit mode for all rows all the time

3 posts, 0 answers
  1. StrandedPirate
    StrandedPirate avatar
    32 posts
    Member since:
    Nov 2007

    Posted 29 Jul 2010 Link to this post

    I'm creating a security dialog. It looks just like the one in Windows for controlling ACL descriptors on files/folders. I don't want the end user to have to click or press a button to go in and check or un-check the various check boxes shown in the tree view. How do I enable edit mode for just the Allow/Deny columns for all rows all the time?

     

     

     

     

    <telerik:RadTreeListView x:Name="OperationList" Grid.Row="4" RowIndicatorVisibility="Collapsed" IsReadOnly="{Binding ElementName=UserList, Path=Items.Count, Converter={StaticResource CountToBooleanConverter}}" AutoGenerateColumns="False" CanUserInsertRows="False" IsFilteringAllowed="False">

     

     

     

     

     

     

     

     

    <telerik:RadTreeListView.Columns>

     

     

     

     

     

     

     

     

    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" Width="*" IsReorderable="False" IsGroupable="False" IsFilterable="False" EditTriggers="None" />

     

     

     

     

     

     

     

     

    <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding Allow}" Header="Allow" IsReorderable="False" IsGroupable="False" IsFilterable="False" />

     

     

     

     

     

     

     

     

    <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding Deny}" Header="Deny" IsReorderable="False" IsGroupable="False" IsFilterable="False" />

     

     

     

     

     

     

     

     

    </telerik:RadTreeListView.Columns>

     

     

     

     

     

     

     

     

    </telerik:RadTreeListView>

     

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 29 Jul 2010 Link to this post

    Hello Joey,

     You can place desired CheckBoxes in CellTemplate directly.

    Sincerely yours,
    Vlad
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. StrandedPirate
    StrandedPirate avatar
    32 posts
    Member since:
    Nov 2007

    Posted 29 Jul 2010 Link to this post

    Perfect. Thanks!
Back to Top