This is a migrated thread and some comments may be shown as answers.

3 Clicks to change the value?

5 Answers 53 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 2
Ryan asked on 19 Oct 2010, 02:41 PM
I'm using a Rad Grid view with a GridViewCheckBoxColumn and the clients want the checkbox column to update the first time the checkbox recieves focus.
What I beleive I'm seeing is the first click selects the row, the second click selects the checkbox and the third click updates the value. 

 

<telerik:RadGridView ScrollViewer.VerticalScrollBarVisibility="Auto" RowDetailsVisibilityMode="VisibleWhenSelected" RowIndicatorVisibility="Collapsed" IsSynchronizedWithCurrentItem="True" AutoGenerateColumns="False" ItemsSource="{Binding Path=WorkAccessSource.View, Mode=TwoWay}" SelectionUnit="FullRow" SelectedItem="{Binding CurrentWorkAccessObject, Mode=TwoWay, UpdateSourceTrigger=Default}" SelectionMode="Single"
....
<telerik:RadGridView.Columns>
....
<telerik:GridViewCheckBoxColumn Header="Caps" DataMemberBinding="{Binding CallForCaps, Mode=TwoWay, Converter={StaticResource CharToBooleanConverter}}" IsSortable="True" IsGroupable="True" IsFilterable="False" IsReadOnly="False" HeaderTextAlignment="Center" /> 
...
</telerik:RadGridView.Columns>

 

5 Answers, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 19 Oct 2010, 02:59 PM
Hi Ryan,

You can set the EditTriggers="CellClick" of that column thus the number of clicks will be two.
In addition, you can set the AutoSelectOnEdit="True" property of the checkbox column and now the column will update on each click / focus.

Hope this helps.

Best wishes,
Veselin Vasilev
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
Ryan
Top achievements
Rank 2
answered on 19 Oct 2010, 03:18 PM
Thank you.  That got me down to two clicks which is better. 
0
Jaime Bula
Top achievements
Rank 2
answered on 19 Apr 2011, 04:36 PM
Exactly what I was looking for.
0
Jaime Bula
Top achievements
Rank 2
answered on 19 Apr 2011, 04:37 PM
Any way to make it 1 click?
0
Vanya Pavlova
Telerik team
answered on 19 Apr 2011, 05:46 PM
Hello Jaime,

 

Please take a look at the following troubleshooting article "Number of clicks in the CheckBox column".


All the best,
Vanya Pavlova
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
Tags
GridView
Asked by
Ryan
Top achievements
Rank 2
Answers by
Veselin Vasilev
Telerik team
Ryan
Top achievements
Rank 2
Jaime Bula
Top achievements
Rank 2
Vanya Pavlova
Telerik team
Share this question
or