How to handle 100+ rows and 100+ cols

Thread is closed for posting
2 posts, 0 answers
  1. Nisse
    Nisse avatar
    3 posts
    Member since:
    Jan 2011

    Posted 27 Jan 2011 Link to this post

    I need to display some quite large grids. Some of them have around 100 rows and 100 columns. Each cell will have some plain text in them (textblock). But it runs very slow. I've tried the native Grid and Telerik. Telerik is actually a bit faster. But still, laggy. The native is just horrible. So, the workarounds? 

    I tried to just fill the visible cells with data. And capture ManipulationCompleted and even tried the "Scrollstates" in the visualstatemanager to draw/activate cells near the visible area. None has given me the results that I want. 

    ManipulationCompleted just captures when the mouse/finger leaves the screen. Is does not take into account that a scrollarea can still scroll for a while after the input device leaved the screen.

    "Scrollstates" in visualstatemanager seems to be very slow. There seems to be a little delay and the event is not trigged right after an uielement has stopped scrolling.

    Any advice is appreciated.

    Best regards
  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 27 Jan 2011 Link to this post

    Hello Nisse,

    we do not support this scenario. Our grid panel is not virtualized and that is why you get the slowdown. What I can recommend you, if it is possible for you, is to use a listbox with virtualized stack panel and make your own templates that can mimic the layout of a grid. For the moment this seems like the only solution for me.

    BTW: I'm really interested in your scenario - what data are you displaying on the phone so that you have this requirement?

    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top