Hi,
We are using Q2 2010 telerik controls. We want to use Row indicator with SelectionUnit = Cell for RadGridView.
When user clicks on Row Indicator column the entire row must be selected but when user clicks a cell inside RadGridView only that cell must be selected but for me it is selecting entire row.
I also noticed that for row indicator functionality, I must give SelectionUnit = FullRow , but we want SelectionUnit =Cell.
Please see below code for what I am doing
We are using Q2 2010 telerik controls. We want to use Row indicator with SelectionUnit = Cell for RadGridView.
When user clicks on Row Indicator column the entire row must be selected but when user clicks a cell inside RadGridView only that cell must be selected but for me it is selecting entire row.
I also noticed that for row indicator functionality, I must give SelectionUnit = FullRow , but we want SelectionUnit =Cell.
Please see below code for what I am doing
<telerik:RadGridView x:Name="gridCusip" ItemsSource="{Binding Nodes}" RowIndicatorVisibility="Visible" IsSynchronizedWithCurrentItem="True" IsReadOnly="True" CanUserReorderColumns="False" CanUserFreezeColumns="False" EnableColumnVirtualization="False" EnableRowVirtualization="True" ScrollMode="RealTime" ClipboardCopyMode="Default" SelectionMode="Extended" SelectionUnit="Cell" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" ShowGroupFooters="False" ShowGroupPanel="False">
I also tried below codethis.gridCusip.CurrentCellChanged += new EventHandler<GridViewCurrentCellChangedEventArgs>(gridCusip_CurrentCellChanged);
void gridCusip_CurrentCellChanged(object sender, GridViewCurrentCellChangedEventArgs e) { this.gridCusip.CurrentItem = e.NewCell.DataContext; }
Please advice me how to solve this.
Thanks in advance.