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

Click group header the first cell is in editmode

3 Answers 95 Views
GridView
This is a migrated thread and some comments may be shown as answers.
rui
Top achievements
Rank 1
rui asked on 04 May 2016, 03:53 AM

I use group by the  field "Group_name"

the  code like this:

radGridView.Items.GroupDescriptions.Add(new PropertyGroupDescription("Group_name"));

 

when I expanded or unexpanded the group   the first cell in the group is in edit mode;

Is any resulution avoid this ?

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 05 May 2016, 02:55 PM
Hello Rui,

I tried to reproduce such behavior of the control at my side, however I was not able to. Can you please check out the sample application I used for testing? Does the grouping operation differ in any way from the implementation at your side?

Regards,
Stefan X1
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
rui
Top achievements
Rank 1
answered on 06 May 2016, 08:35 AM

The behavior exist in the demo you sent,  when expanded  the group,the first cell can receive keboard input,

the steps is as the attached pictures 

the differences are

1.the original demo 's .netframework is 4.5 client profile but at my side  i have not setup it ,  my version is 4.5 

2. at my side telerik version is 2015.2.728.40

Are the differences  cause the problem?

0
Stefan
Telerik team
answered on 10 May 2016, 11:18 AM
Hello Rui,

Thank you for clarifying this.

When a given group is expanded the control actually is not in edit mode. It is in view mode, but enters edit mode as the user starts typing. This can be avoided by setting the EditTriggers property of the control to a value as per your needs. For example, you can try setting it to CellClick.

Hope this helps.

Regards,
Stefan X1
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
rui
Top achievements
Rank 1
Answers by
Stefan
Telerik team
rui
Top achievements
Rank 1
Share this question
or