Performance issue when scrolling, expanding

9 posts, 0 answers
  1. Tim Ge
    Tim Ge avatar
    16 posts
    Member since:
    May 2010

    Posted 25 Apr 2011 Link to this post

    I have 10+ columns in my radtreelistview control

    when i scroll or expand, the responding time of the control is quite slow

    for example, while expanding a node, even it only has like 1 or 2 child rows, it still take a long time to load

    i have tried to 'hide' most of the columns, then the responding time becomes instant

    is treelistview not designed for such purpose

    or is there anyway to work around this???
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 26 Apr 2011 Link to this post

    Hello,

     What's it your treelist version? According to your account you do not have any downloads of RadControls for WPF.

    Please clarify!

    Kind regards,
    Vlad
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Tim Ge
    Tim Ge avatar
    16 posts
    Member since:
    May 2010

    Posted 26 Apr 2011 Link to this post

    I'm using RadControls for WPF Q1 2011
    which is the latest one
    and the company bought the control
    thats why i dont have any downloads for this account
    i just applied this account just to ask questions
  5. Hristo
    Admin
    Hristo avatar
    408 posts

    Posted 29 Apr 2011 Link to this post

    Hi Tim Ge,

    Welcome on board!

    Please ask the purchaser to add your email to the list of licensed developers so that you can get access to the support services, the latest hotfixes and downloads from within your account.

    Now straight to your question: We cannot reproduce the behavior you are describing. Please, prepare a small project demonstrating the issue and send it to us via support ticket.


    Greetings,
    Hristo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Tim Ge
    Tim Ge avatar
    16 posts
    Member since:
    May 2010

    Posted 02 May 2011 Link to this post

    ok, I'm asking them to add it today

    btw, i found out that radtreelistview is trying to expand all my nodes
    which is why the filtering is really slow

    i implemented the treelistview using loadondemand methodology as there can be huge amount of nodes in total
    so is there anyway to make the filtering not to expand all my nodes
    but only filter rows that already been expanded?

  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 03 May 2011 Link to this post

    Hi,

    In our latest build the treelist filtering will work only with loaded items. I've attached an example application to illustrate you this. 

    Greetings,
    Vlad
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. Tim Ge
    Tim Ge avatar
    16 posts
    Member since:
    May 2010

    Posted 12 Jul 2011 Link to this post

    Hello Vlad,

    I have left filtering part for a while,
    now I can see the lastest build of treelist filtering work only with loaded items,
    but in the business logic I'm working, it need to work with 'expanded' items, not 'loaded' items
    because in order to sort out the order correctly, i have loaded 'only part of items in the child levels'
    so I would like to have the filtering to deal with only the expanded, not the 'loaded' ones?

    how can i achieve this?

    Cheers
    Tim
  9. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 18 Jul 2011 Link to this post

    Hi Tim,

    I believe that if you load some child items during expand you can "unload" them if the parent item is collapsed and in this case filtering will work only on loaded/expanded. 

    All the best,
    Vlad
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  10. Tim Ge
    Tim Ge avatar
    16 posts
    Member since:
    May 2010

    Posted 20 Jul 2011 Link to this post

    nope, I cannot "unload" them
    first of all, I didn't load "some" child during user expand, I added them after the page is loaded programtically.
    Imagine three types of Items in the control : type A, type B and type C
    type A can have type A children, and type B children
    type B can only have type C children
    type C can not have children

    all type A items are stored in a database table, this table contains a field "Order"
    in my control, i need to display the first level type A items that do not have parent
    in order to update the "Order" field by Drag & Drop, 
    I have loaded all type A items, which means  the first level type A items will have type A children in them, but not type B children

    this way I can sort out the order pretty easy after Drag & Drop, as I have the tree structure sitting there for me to define the order
    otherwise if type A children are not added at the start, I will have to do it through stored procedure, and I lose the structure there as the order is messed up

    To conclude, I think it make sense for RadTreelistview to apply filter to only "expanded" items, (as you already changed it from expand all items in the tree to filtering only the "loaded" ones), or at lease provide an option to do it
    otherwise how can I modify it to handle varies different senarios?
Back to Top
UI for WPF is Visual Studio 2017 Ready