jQWidgets Forums

jQuery UI Widgets Forums General Discussions Lists ComboBox 10000 records

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • 10000 records #68744

    arkgroup
    Participant

    I have data with 10,000 records. When populate combobox in IE8, I have error: “Stop running this script? A script on this page is causing your web browser to run slowly..” Works fine with Google Chrome. Works fine in IE8, if data has 5,000 rows for example. I am using AJAX code:
    $.ajax({
    type: “POST”,
    url: “Default.aspx/EmployeeNames”,
    data: “{}”,
    async: false,
    contentType: “application/json; charset=utf-8”,
    cache: false,
    dataType: “json”,
    success: function (r) {
    data_employee = $.parseJSON(r.d);

    },
    error: function (err) {

    alert(“EmployeeNames error”);
    }
    });

    $(“#cmbSupervisor”).jqxComboBox({ source: data_employee, selectedIndex: 0, width: ‘200px’, height: ’25px’, dropDownWidth: 250, displayMember: ‘EmployeeName’, valueMember: ‘EmployeeName’, theme: ‘ui-sunny’});

    Is there something I can do to avoid that error?

    Thanks

    10000 records #68748

    Peter Stoev
    Keymaster

    Hi arkgroup,

    If you want to load 10000 or more items in a ComboBox, then use its remoteAutoComplete option and load data on demand and please choose better names for your Forum topics.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.