Hello
Thanks for the reply, but, unfortunately, this doesn't answer my problem.
1. There's no filtering enabled.
2. My data has >120000 entries, which is impossible to load at once. Your sample has all the entries loaded on startup.
I have modified your sample, changing the following:
1. changed the query, so that it doesn't load all the data:
ViewBag.query = "new ej.data.Query().select(['FirstName', 'EmployeeID']).take(2).requiresCount()"
2. Set the model.Value outside the initially loaded data:
model.Value = 9;
3. Added filtering to the definition of DropDownList
With these modification the sample doesn't work as expected. The desired result is that, when I load the page, the employee 9 (Steven Buchanan) is shown and selected in the DDL, but in the modified sample there's nothing selected in the DropDownList.
The changed sample is in the attachment.
Thanks, Tom
Attachment:
DropDownListFor__Copy_a816431c.zip