Slow loading datagrid

May 5, 2014 at 2:36 PM
Hello,
First I would like to congratulate them for the project being very helpful to me.
When loading a datagrid with the method dataGrid.ItemsSource = myList; the list has more than 1000 records, the loading is very slow, I tried the same method on a common wpf application and the the result was normal. By putting a breakpoint checked that the load time is normal List, and then the application hangs and takes a minute to surround the display.
Sorry for the mistakes of writing, I am Brazilian I still learning English.
Grateful for the collaboration.
Saulo.
Aug 18, 2014 at 12:16 AM
i had the same problem, then after I set MaxHeight and MaxWidth of the DataGrid to a fixed value, the problem is solved.
Additionally this thread is very helpful for improving datagrid performance.