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
180
XamDataGrid -> Slow row count with datatable and lots of rows
posted

Hello!

To show data in my XamDataGrid, I am using a Datatable, that is bound to the XamDataGrid. This works fine. 

While testing, I recognized the following problem:

As you can see in the picture below, I let the XamDataGrid show me the count of the rows of the second column. 

Currently, there are about 1 million rows (I am testing worst cases), and when I check the box, to get the count, it takes abaout 20 seconds until I get the result. In a previous version of my code, instead of a datatable I used an ObservableCollection. In this case, to get the count, it only needs about 2 seconds. So what is the difference between datatable and ObservableCollection? How can I speed up this? What am I doing wrong? 

Parents Reply Children
No Data