Home Forums WinForms controls Xceed Grid for WinForms Batch insert rows!

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

    Hi,

    I am using XCeed Grid 3 that is bound to a IBindingList and I am looking for away to batch
    insert rows. There are situations where I get several hundreds of row insertions per second that I want to fasten up and was hoping there are some way to do this.

    The IBindingList:ListChanged and ListChangedEventArgs only allows for one row at a time and is not good enough for our needs.

    Best Regards
    Lars Krog-Jensen
    SIX AB
    Stockholm Sweden

    Imported from legacy forums. Posted by Lars (had 1773 views)

    User (Old forums)
    Member
    Post count: 23064

    You could add the rows to your datasource and then call that event with a reset. That will force the grid to update with a full list of data. The only problem is that it will reset the whole grid, groups, scrollbar positions sorting. That kind of thing but it will allow you to insert lots of rows all at once.

    Imported from legacy forums. Posted by Chris (had 2990 views)

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