Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144264 | Apr 27,2019 09:18 AM UTC | Apr 29,2019 05:45 AM UTC | React - EJ 2 | 1 |
![]() |
Tags: AutoComplete |
private onFiltering(e: FilteringEventArgs) {
e.preventDefaultAction=true;
let query: Query = new Query();
//frame the query based on search string with filter type.
query = (e.text !== '') ? query.where('Name', 'startswith', e.text, true) : query;
//pass the filter data source, filter query to updateData method.
e.updateData(this.dataSource, query);
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.