Home Forums WinForms controls Xceed Grid for WinForms Sort of grouped grid

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

    Hi all.

    My grid is bound to a datatable and I create a group:

    Dim group As Xceed.Grid.Group = New Xceed.Grid.Group

    group.GroupBy = “Id”

    Dim groupManagerRow As Xceed.Grid.GroupManagerRow = New Xceed.Grid.GroupManagerRow
    groupManagerRow.TitleFormat = “%GROUPKEY%”
    group.HeaderRows.Add(groupManagerRow)
    myGrd.GroupTemplates.Add(group)

    Initially the rows and the groups are displayed in the correct order.

    But if I manually add some rows to DataTable, the new rows are displayed in the bottom of the grid.

    How can I show the rows in the correct position based on its Id?

    Thanks.

    Skysurfer

    Imported from legacy forums. Posted by Gian Luigi (had 1861 views)

    User (Old forums)
    Member
    Post count: 23064

    When adding a new DataRow, it should be inserted into the right group. This is the behavior we get here. Can you send a sample application that reproduce the issue to <a href=”mailto:support@xceedsoft.com”>support</a>, so we can investigate it further?

    Imported from legacy forums. Posted by André (had 2818 views)

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