Click group header the first cell is in editmode

4 posts, 0 answers
  1. rui
    rui avatar
    33 posts
    Member since:
    May 2014

    Posted 03 May Link to this post

    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 ?

  2. Stefan X1
    Admin
    Stefan X1 avatar
    514 posts

    Posted 05 May Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. rui
    rui avatar
    33 posts
    Member since:
    May 2014

    Posted 06 May in reply to Stefan X1 Link to this post

    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?

  5. Stefan X1
    Admin
    Stefan X1 avatar
    514 posts

    Posted 10 May Link to this post

    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.
Back to Top