Home › Forums › WinForms controls › Xceed Grid for WinForms › How can I improve the performance of my grid?
The following is a list of things you should take into consideration if you do not want to diminish the performance of your grid:
1- Do not use a GridLineStyle other than Solid. Using another GridLineStyle can substantially reduce performance (by about 30% according to our test results).
2- Do not use a background image.
3- Subscribe only to the necessary events and do not put code that is long to execute in the event handlers. This applies especially to the Cell.ValueChanged event.
4- If the grid is bound, the size of the dataset can greatly influence performance. The new general philosophy in .NET is to work “disconnected” with small datasets.
5- Use AutoHeightMode.None rather than Minimum or AllContent.
Imported from legacy forums. Posted by Xceed admin (had 617 views)