This question is locked. New answers and comments are not allowed.
Hello,
I'm using a RadTreeListView with a GridViewComboBoxColumn. I need at least three clicks to open the dropdown list.
I assume first is to focus the cell second to get the edit mode third to open the list. Is there a way to do it with only one click?
Here is the XAML code of my RadTreeListView:
<t:RadTreeListView x:Name="TreeListView"
AutoGenerateColumns="False"
ItemsSource="{Binding Zeile.Liste}"
SelectedItem="{Binding Current, Mode=TwoWay}"
CanUserReorderColumns="True"
CanUserFreezeColumns="True"
EnableColumnVirtualization="True"
EnableRowVirtualization="True" >
<t:RadTreeListView.ChildTableDefinitions>
<t:TreeListViewTableDefinition ItemsSource="{Binding Liste}"/>
</t:RadTreeListView.ChildTableDefinitions>
<t:RadTreeListView.HierarchyChildTemplate>
<DataTemplate>
<t:RadTreeListView ItemsSource="{Binding Liste}"/>
</DataTemplate>
</t:RadTreeListView.HierarchyChildTemplate>
<t:RadTreeListView.Columns>
<t:GridViewComboBoxColumn Header="Bezeichnung"
DataMemberBinding="{Binding AuswahlListeId}"
ItemsSourceBinding="{Binding AuswahlListe}"
SelectedValueMemberPath="Id"
DisplayMemberPath="Bezeichnung">
<t:GridViewComboBoxColumn.CellEditTemplate>
<DataTemplate>
<t1:RadComboBox ItemsSource="{Binding VerfuegbarListe}"
SelectedValue="{Binding AuswahlListeId, Mode=TwoWay}"
SelectedValuePath="Id"
DisplayMemberPath="Bezeichnung" />
</DataTemplate>
</t:GridViewComboBoxColumn.CellEditTemplate>
</t:GridViewComboBoxColumn>
<t:GridViewDataColumn DataMemberBinding="{Binding Menge}"
IsReadOnly="True"
Header="Menge" />
</t:RadTreeListView.Columns>
</t:RadTreeListView>
Regards,
Andreas
I'm using a RadTreeListView with a GridViewComboBoxColumn. I need at least three clicks to open the dropdown list.
I assume first is to focus the cell second to get the edit mode third to open the list. Is there a way to do it with only one click?
Here is the XAML code of my RadTreeListView:
<t:RadTreeListView x:Name="TreeListView"
AutoGenerateColumns="False"
ItemsSource="{Binding Zeile.Liste}"
SelectedItem="{Binding Current, Mode=TwoWay}"
CanUserReorderColumns="True"
CanUserFreezeColumns="True"
EnableColumnVirtualization="True"
EnableRowVirtualization="True" >
<t:RadTreeListView.ChildTableDefinitions>
<t:TreeListViewTableDefinition ItemsSource="{Binding Liste}"/>
</t:RadTreeListView.ChildTableDefinitions>
<t:RadTreeListView.HierarchyChildTemplate>
<DataTemplate>
<t:RadTreeListView ItemsSource="{Binding Liste}"/>
</DataTemplate>
</t:RadTreeListView.HierarchyChildTemplate>
<t:RadTreeListView.Columns>
<t:GridViewComboBoxColumn Header="Bezeichnung"
DataMemberBinding="{Binding AuswahlListeId}"
ItemsSourceBinding="{Binding AuswahlListe}"
SelectedValueMemberPath="Id"
DisplayMemberPath="Bezeichnung">
<t:GridViewComboBoxColumn.CellEditTemplate>
<DataTemplate>
<t1:RadComboBox ItemsSource="{Binding VerfuegbarListe}"
SelectedValue="{Binding AuswahlListeId, Mode=TwoWay}"
SelectedValuePath="Id"
DisplayMemberPath="Bezeichnung" />
</DataTemplate>
</t:GridViewComboBoxColumn.CellEditTemplate>
</t:GridViewComboBoxColumn>
<t:GridViewDataColumn DataMemberBinding="{Binding Menge}"
IsReadOnly="True"
Header="Menge" />
</t:RadTreeListView.Columns>
</t:RadTreeListView>
Regards,
Andreas