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

Edit mode cancel button popup selects the row beneath

1 Answer 10 Views
Grid for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Erik
Top achievements
Rank 1
Erik asked on 30 Jan 2014, 01:35 PM
Hi,

My scenario is that I have a RadDataGrid and a boolean column to the far left. I want to be able to select items in the list and the checkbox to be checked. My solution right now is that SelectionChanged on the grid calls Begin Edit on the selected item, so the checkbox can easily be checked with one additional click. However upon closing edit mode with "Cancel button popup" (see image in http://www.telerik.com/help/windows-8-xaml/datagrid-editing-editoperation.html ) the row beneath the button is selected, and so edit mode is started for that row.

Do anyone have a fix for this, or perhaps another way of solving my problem? I have a chart that should be updated upon selecting the row, and it must be a checkbox dislaying selected rows in the grid.

Thanks for your time.

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 03 Feb 2014, 03:25 PM
Hi Erik,

Thank you for contacting us.

We have to admit that there is a bug in the RadDataGrid control. As a workaround, if you use the Editing UI only to edit the CheckBoxes, you can disable it and use a DataGridTemplateColumn with a CheckBox as CellContentTemplate. Thus you can check/uncheck the CheckBoxes without using the Editing UI. 

Please, let us know if this works for you. I have also updated your Telerik points as a token of gratitude for bringing this issue to our attention.

Regards,
Rositsa Topchiyska
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
Grid for XAML
Asked by
Erik
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Share this question
or