Home Forums WinForms controls Xceed Grid for WinForms dataset.AcceptChanges AutoCollapse

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #14675 |

    I use the grid 3.1.
    I have a ‘Users’ dataset with 2 tables that is bind to the grid.
    Also i have some custom DetailGrids.
    After making some modifications in grid, i call Update method on the dataadapter.
    After that i call AcceptChanges on the dataset

    When i call AcceptChanges method, the grid collapse all of the datarows ?
    Is this the standard behavior ?
    How i can workaround this behavior ?

    thanks

    Imported from legacy forums. Posted by Andre (had 1966 views)

    User (Old forums)
    Member
    Post count: 23064

    Since the source changes when you send the AcceptChanges, the grid will rebind to the source to reflect the modifications. You will have to call expand on the groups / detailgrids that were collapsed after the re-binding.

    Imported from legacy forums. Posted by Matt (had 2840 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.