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
250
UltraWinGrid Band.AddNew performance
posted

Hi

I have an ultrawingrid that is created at run time with 3 bands.

Each band represents a different datatable, and the relationships between these tables.

When i enter the third band and try and add a new row to that band (so add a new child row to the parent row) the performance is terrible and can often take up to 5 seconds to create a new row in the win grid.

I have read pervious articles on improving performance by suspending the layout, doing begin update and suspendrowsynchronisation, but the performance is very very poor.

Is there anything else i can do to speed up the generation of this table?

I have attached the code that generates the table. If i take out the lines to generate the third bands new rows it completes in a matter of seconds. At the moment its been running for 20 minutes and is only half complete.

Thanks

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    I don't see anything obvious here that would cause a performance problem. But you are probably better off adding your data directly to the data source then through the grid. The grid is there to provide UI to the users. Adding data to the grid programmatically means that the grid needs to do all sorts of things that you really don't need it to do.

    If, for some reason, you can't add the data to the data source instead of the grid, then I recommend that you try to create a small sample project demonstrating the problem and Submit an incident to Infragistics Developer Support so they can check it out.

Children
No Data