I'm using Kendo dropdownlist in a template. It loads a list of client names which are used to sign a record. The client name list has 8k entries.
The form loads ok but if I select the dropdownlist to change the client name it takes around 10 seconds for the list to appear. Is there something I can do to speed this up?
My datasource:
var dsClients = new kendo.data.DataSource({
transport: {
read: {
url: "/data/clients/key",
dataType: "jsonp"
},
parameterMap: function(options, operation) {
if (operation === "read") {
return options;
}
}
},
serverSorting: true,
sort: [{ field: "text", dir: "asc" }]
});
The element in my template:
<input name="idclt_clm" data-bind="value:idclt_clm" data-value-field="value"
data-text-field="text" data-option-label="Select" data-source="dsClients"
data-role="dropdownlist" required validationMessage="Required" />