DataGrid Known Issues: Sort Performance

DataGrid's built-in sort sometimes has less than optimal performance in certain scenarios, such as very large data sets (>100,000 items, depending on your machine speed). This is a result of the comparer in the built-in sort using reflection to perfom the sort, which is an expensive operation. Reflection is necessary because the comparer does not know anything about your data type. The DataGrid team is working on improving the performance of the built-in sort for our next release. In the meantime, if you are experiencing poor sort performance in your application, we recommend that you implement a custom sort.

Last edited Oct 28, 2008 at 5:22 AM by SamanthaMSFT, version 4

Comments

No comments yet.