We are using the KTUI DataTable component in Metronic with Angular 20 and a remote API data source, and we need to implement the search functionality.
The documentation mentions the search(query: string | object) method, but it does not clearly explain how to invoke it or how to bind it to a custom input field outside of the table.
Could you please provide a complete Angular-based example showing how to use search() to filter rows when the table data is loaded from a remote API?