jQuery UI Widgets Forums Lists ListBox ListBox Performance

This topic contains 2 replies, has 2 voices, and was last updated by  wsundet 4 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • ListBox Performance #98924

    wsundet
    Participant

    I am using ListBox with a source array containing about 5000 entries.

    When my form containing the ListBox opens, there is a delay in populating the ListBox. Once it is filled, everything is fine. Is there any technique that I can use to minimize delay and also not display the ListBox until it is populated?

    Thank you,
    wsundet

    ListBox Performance #98941

    Stanislav
    Participant

    Hello wsundet,

    I would suggest you to use Grid instead of ListBox.
    It can render many elements much faster and is more suitable for this.
    Here is an example of Grid with a single column, without a header and 5000 elements: Example

    If this is slow you can use Grid’s virtual mode as well, which will speed up the process even more.

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/

    ListBox Performance #99019

    wsundet
    Participant

    I used Grid and the performance is amazing.

    Thank you for your excellent advice!!

    wsundet

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.