Hi,
I am trying to implement the Xamdatagrid with checkbox i used the follwoing template to display the checkbox .But one problem is i am not able to trave the grid using the keyboard.Means i am not able to select the checkbox using the keyboard.Is ther any way to set a focus to the checkbox?
<Style TargetType="{x:Type igDP:CellValuePresenter}" x:Key="customCheckEditor">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type igDP:CellValuePresenter}">
<CheckBox HorizontalAlignment="Center" Name="chk1" Unchecked="UnCheckedGrid" Checked="CheckedGrid" Background="Red" FocusManager.IsFocusScope="True"
IsChecked="{Binding Path=DataItem.Status , Converter={StaticResource checkConverter1},Mode=TwoWay}" >
</CheckBox>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Hi , I have exactly the same problem, i check couple of records but when i scroll down with behalf of the right scrollbar, the checked items that become not visible anymore are unchecked.
Does anyone has a solution for this ? The function for "unchecked" should not be called at that moment ?
Thank you in advance.
I added checkbox in xamdatagrid i binded the checkbox with 2way binding if i scroll the xamdatagrid
scroll bar my check boxes are automatically checked and some of the check boxes are unchecked .
i am not able find the solution for this. Can you guys please help on this
Well I can tab to it but it by no means does it in a logical order. If you move into it using the left arrow key (coming from the link button cell on the right), it eventually focuses on the checkbox but for some reason it won't focus on the checkbox if you move into it using the right arrow key (coming from the leftmost cells).
I'd say this is a bug with the xamdatagrid.
If you still can't focus on the checkbox the way I could then maybe upgrading to the latest infragistics version would fix your problem.
Hi i uploaded my code
Please look at this code..
Please let meknow where i am doing wrong...
Yes. I have a CellValuePresenter which contains a combobox and a button and can focus on both using the keyboard ok. Sometimes it takes a while before it sets the focus to them but it still does it eventually.
Maybe it's something to do with your IsEnabled property? Or what you've set the SelectionTypeCell property to?