jQuery UI Widgets Forums TreeGrid Tree Grid Expand and Collapse Row is slow

This topic contains 23 replies, has 5 voices, and was last updated by  dpibt 8 years, 10 months ago.

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author

  • Anand R
    Participant

    Hi

    Am using a tree grid for my application and my client done need paging .It has around 500 rows .My expand and collapse button is very .When i click on my expand button i need to wait for 2 to 3 seconds for that to be expanded .The same is happening for collapse also .The vertical scroll bar is also not at higher responsive.While scrolling i can feel the slowness.Please help me in finding the right solution

    Thanks and Regards
    Anand.R


    Peter Stoev
    Keymaster

    Hi Anand,

    For displaying multiple rows, you should enable Paging as shown in the demos which display multiple rows. By doing that, the performance would be very good as it is in the demos.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    Anand R
    Participant

    Hi Peter ,

    Thanks for the quick response.My client don’t need paging.We need to show it as a single table.The collapse and expand is ok in firefox and chrome but it is very slow in IE.Could you please let me know your valuable thoughts in this .

    Thanks
    Anand.R


    Peter Stoev
    Keymaster

    Hi Anand,

    I am sorry to hear that. But, if you want to use jqxTreeGrid and you want to use it with Large Date Set, then it is absolutely necessary to enable Paging.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    Anand R
    Participant

    Hi Peter ,

    I understand the problem will solve while using paging but unfortunately our client don’t need paging .So what i have decided like instead of pulling 45 columns initially we will pull 15 columns and while scrolling the horizontal scroll we will bring the other columns accordingly like lazy load.Could you please suggest your thoughts on it or is there an predefined functionality exist for this

    Looking forward for your valuable thoughts

    Thanks in Advance

    Regards
    Anand.R


    Peter Stoev
    Keymaster

    Hi Anand R,

    Loading columns on demand is not supported by the widget. I also do not think that even if it was supported it would speed up anything. The widget is capable of displaying large data sets, only if paging is enabled.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    savithiri
    Participant

    Hi Peter,
    The volume of 500 rows does not sound as large dataset. We observe the whole grid is repainted by the tool whenever a row is expanded or collapsed. I wonder why would that be so? Isn’t it an inefficient way to support expand and collapse… Would setting a hide and show property wouldn’t have been a better option ..

    We are planning to use this tool to provide solution for a wall street client. Am I to assume this tool is not meant for high speed / high volume enterprise solutions?

    Paging is not an option .. Can you not mimic paging internally by calculating the size of data?
    Our client bought a license to use your tool , but is very close to making a call to move to another tool .
    Your support is appreciated

    Thanks


    Peter Stoev
    Keymaster

    Hi savithiri/Anand R(same IP),

    I am sorry to learn that Paging is not an option for you. jqxTreeGrid is optimized for Large Data sets if Paging is enabled. If it is not, then you will not be able to load many records. It is ready for enterprise solutions, however it seems that you don’t wish to use it in the way you should use it. Repainting of the widget is very fast as it is done with just 1 operation and this is much faster than hiding/showing something, but I don’t think that this is a subject which should be discussed in a public Forum. The problem is that all cells are displayed in TD tags and having many HTML Elements on a web page slows down the web page. In case of Paging, the widget will create TD for the visible area only.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    savithiri
    Participant

    Hi Peter,

    Thank you for your quick response. We are moving from silver light to HTML and , silverlight supports this feature that we are talking about here. We cant change our user experience because we are moving to a different technology. This is a catch 22. We are look for your solution to provide the same user experience with JQX widget. Please let us know how we can work this out.

    Thanks
    Savithiri


    Peter Stoev
    Keymaster

    Hi Savithiri,

    The only option in the current implementation of jqxTreeGrid is to turn on Paging, if you want to display many records. Option is to raise a feature request and wait for a future release or to make a request for custom development of missing functionality or extending existing functionality. If you have the code, you can also manually make the required modifications in the sources and minify the sources after that.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    savithiri
    Participant

    Hi Peter,
    Thank you for your response. Yes , we would like to raise a feature request or a request for custom development of missing functionality. Please let me know the process for the same . Is there a number where I can reach you. Would prefer that over so many communications in the forum
    Thanks
    Savi


    Peter Stoev
    Keymaster

    Hi savithiri,

    – If you want to request a feature, write to support@jqwidgets. We will add a work item and we will consider implementing the feature in a future version of jQWidgets after we plan our Roadmap.
    – If you want to request a feature for custom development, write to sales@jqwidgets.com with your request.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    savithiri
    Participant

    Hi Peter,

    Thank you Peter . Will send a mail to the sales and support team .

    Thanks
    Savithiri


    jumple
    Participant

    Is there any plans to introduce virtual scrolling for TreeGrid (similar to pagination but achieved with a scroll bar)?


    Peter Stoev
    Keymaster

    Hi jumple,

    There is Loading on Demand already available on Expand of a Node. Scrolling works just fine in the way it is and we do not have plans to make changes about it. If you need to load many records, enable Paging and load your data on demand by handling the virtualModeCreateRecords and virtualModeRecordCreating functions.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 15 posts - 1 through 15 (of 24 total)

You must be logged in to reply to this topic.