Performanse combobox, angularjs integration

6 posts, 0 answers
  1. Alexandr
    Alexandr avatar
    4 posts
    Member since:
    Feb 2016

    Posted 15 Mar Link to this post

    How can I optimize the performance of the combobox with datasourse = 2.5k items? Data entry noticeable delay, java script blocks in the browser search time elements
  2. Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 16 Mar Link to this post

    Hi Alexandr,

    Please refer to this help article which explains how to handle large data sets with combo box widget: http://docs.telerik.com/kendo-ui/controls/editors/combobox/virtualization.

    Also, you can check the related demo: http://demos.telerik.com/kendo-ui/combobox/virtualization

    Regards,
    Venelin
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. UI for ASP.NET AJAX banner
  4. Alexandr
    Alexandr avatar
    4 posts
    Member since:
    Feb 2016

    Posted 16 Mar in reply to Venelin Link to this post

    Forgot point, I do not get the data from the server, it is stored on the client
  5. Alexandr
    Alexandr avatar
    4 posts
    Member since:
    Feb 2016

    Posted 16 Mar Link to this post

    It seems to me the problem is that each time a key is pressed when typing kendo goes through thousands of items 2.5 and blocks browser.
  6. Alexandr
    Alexandr avatar
    4 posts
    Member since:
    Feb 2016

    Posted 16 Mar Link to this post

    I would like to replace the search function on your kendo that looks like this https://jsfiddle.net/biff/2scjgu7a/3/. Do you know how to implement it?
  7. Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 17 Mar Link to this post

    Hi,

    "It seems to me the problem is that each time a key is pressed when typing kendo goes through thousands of items 2.5 and blocks browser."

    Then you can configure the minLength property: http://docs.telerik.com/kendo-ui/api/javascript/ui/combobox#configuration-minLength . As described in the documentation: "The minimum number of characters the user must type before a search is performed. Set to higher value than 1 if the search could match a lot of items."

    Regards,
    Venelin
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
UI for ASP.NET AJAX banner