Completed
Last Updated: 29 Jan 2020 14:44 by ADMIN
Release 2.7.0
yceron
Created on: 28 Dec 2019 05:45
Category: ComboBox
Type: Feature Request
1
Server Filtering with custom data request event that can accommodate remote data
Allow Combobox and DropDownList to be able to be bound to a remote datasource, for example, a REST endpoint.
3 comments
ADMIN
Marin Bratanov
Posted on: 30 Dec 2019 17:58

Thank you for the clarification.

You can follow the filtering feature request for the dropdownlist for status updates on it: https://feedback.telerik.com/blazor/1427877-filter-search-look-ahead. It also offers a workaround idea that uses a grid whose OnRead event you can hook. I would encourage you to add a comment to it to add your context - how you would expect the feature to be exposed, any relevant events and API, as that would help a lot when we get to implementing it.

I have also renamed this item to be clearer on the combo box filtering. If you have any further comments (especially in case I misunderstood something), please add them here.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
yceron
Posted on: 29 Dec 2019 13:21

Hi Marin,

I didn't express myself correctly. What I meant was is that the controls, should have a server filtering option, something similar to this option on the Kendo ComboBox https://demos.telerik.com/kendo-ui/combobox/serverfiltering and the KendoDropdownList https://demos.telerik.com/kendo-ui/dropdownlist/serverfiltering.

When you're filtering from a customers or products database with thousands of rows, it is impossible to fech all the data at once on the control which is the only use case on your samples and documentation. Currently the ComboBox and DropDownList controls don't allow for such use case.

ADMIN
Marin Bratanov
Posted on: 28 Dec 2019 16:21

Hello,

Our components are agnostic with regard to the data source - they need a collection of data that they display and it is up to the application to provide this data. It can come from any service, and that service can do an HTTP request to the endpoint to fetch the data. Or, you can have a mocked version for testing, or to swap it between staging, testing and live.

You can find guidance from Microsoft on how to call your endpoints in the following articles:

Thus, the usage of the Telerik components does not block you in any way to implement such a data source.

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor