BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
How do I create a multi-select or a drop-down list in Angular with server-side paging, sorting, and filtering, as well as a preselected value feature for edit form controls?
For instance, when I access the edit screen, the dropdown and multi-select components should already be populated with the corresponding values.
Note that my frontend is Angular and my backend is ASP.NET Core Web API.
Hi Ali,
Greetings from Syncfusion support.
We have prepared a sample based on the information provided. In this sample, we handle sorting and filtering on the server side and bind the preselected value using the value
property.
index.cshtml <div class='control-wrapper'>
</div>
<script type="text/javascript"> HomeController.cs public IActionResult Index() public ActionResult UrlCountyDataSource([FromBody] DataManagerRequest dm) |
Please note that while we do not support paging in the dropdown, we do have virtual scrolling support. For more details, please refer to the following UG documentation.
https://ej2.syncfusion.com/aspnetcore/documentation/drop-down-list/virtual-scroll
Regards,
Priyanka K