Hi,
Is there a way to disable certain items on creation of the dropdownlist using a field that is on the data that is returned from the remote data source?
Something like the following:
$('#ProductId').ejDropDownList({
width: '100%',
enableFilterSearch: true,
dataSource: ej.DataManager({
url: "/Products/List",
adaptor: new ej.UrlAdaptor()
}),
fields: { text: 'Name', value: 'Id', disabled: 'IsSelectable' },
value: $('#ProductIdHidden').val(),
});