Home Forums WinForms controls Xceed Grid for WinForms Grid Refresh Interval

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

    Hi there,

    Is it possible to set the rate at which the grid is repainted? I’m asking this because the performance gets very poor when the grid is repainted frequently. The grid needs to be repainted because new rows are added and cell values are changing rapidly (every 100 msecs or so).

    I started noticing the poor performance when the grid got to about 2,000 rows (12 columns). I run the grid (v3.7) in Release mode.

    Thanks in advance!

    Imported from legacy forums. Posted by ronny (had 1002 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi,

    you could trying using :

    gridControl1.SuspendLayout();

    // do you batch processing … 

    gridControl1.ResumeLayout();

    Altervatively, you could suppend and resume the layout of the grid at every 40,100 or 200 new rows, depending on what looks and works best for you.

     

    Imported from legacy forums. Posted by Ghislain (had 997 views)

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