Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2589
Adding row when rows are grouped - possible bug?
posted

Hello,

In attached solution  there's a small piece of code which works in my application. This is how it should work and how it doesn't:

 

  1. Group persons by position
  2. Enter the person name and  position in the textboxes on top. Press "Add" button. This adds a new item directly to collection. As you see, there's a new row on the grid and cursor is set to the new row.
  3. New row MUST be set to edit mode, as I do in code. When position name in the textbox equals to very bottom group name ("Top manager" here), new row enters edit mode without any problem. But when you enter any other position, group expands as it should, but row won't enter edit mode.

I understand this is not a normal flow but this is how we add new rows to grid. Any ideas?

Solution: 

Thank you.