Hello,
var customerList = ej.DataManager({ url: "Administration/GetGroups", crossDomain: true });
$(function () {
obj = $('#groupCodeList').ejDropDownList({
dataSource: customerList,
fields: { text: "ContactName", value: 'ContactName' },
itemsCount: 20,
popupHeight: "200px",
width: "250px",
enableFilterSearch: true,
enableServerFiltering: true,
allowVirtualScrolling: true,
search: function (args) {
if (args.searchString.length < 3) { //check search string length
args.cancel = true;
}
}
}).data("ejDropDownList");
obj._updateSelectedIndexByValue = function () { }
});
And my C# controller:
public IActionResult GetGroups(ExtendedDataManagerRequest dm)
{
return null;
}
In the console browser call I see:
Why don't I have the take and skip?
I also took the opportunity to ask, how do I add the extra parameter that I want to send in javascript?