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
345
How to speed up xamDataGrid Binding?
posted

Binding grid to less than a hundred records, it takes 5 seconds to display the form - it just has the grid on it.

I'm using virtualization, set scrolling to immediate, hiding the grid and then showing it once binding has finished (seems to shave a second off) but it is sluggish.

What else should I be doing?  I notice the Grid Layout Updated fires a lot repeatedly over that 5 second period.

I have themes set on the grid which I understand slows things down a bit, and I'm loading layout previously saved - is there a preferred order in which to do this (i.e. load data first then the layout or vice-a-versa?

Will setting the EditType or DisplayType on the columns speed things up?

Any recommendations are welcome.