This is a migrated thread and some comments may be shown as answers.
Enable edit mode for all rows all the time
2 Answers 35 Views
This is a migrated thread and some comments may be shown as answers.
StrandedPirate
Top achievements
Rank 1
StrandedPirate asked on 29 Jul 2010, 09:38 AM
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 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Jul 2010, 09:40 AM
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
0
StrandedPirate
Top achievements
Rank 1
answered on 29 Jul 2010, 09:52 AM
Perfect. Thanks!
Asked by
StrandedPirate
Top achievements
Rank 1
Answers by
Vlad
Telerik team
StrandedPirate
Top achievements
Rank 1
Share this question
or