7
votes

I have implemented server-side model in ag-grid with javascript, I tried with setQuickFilter function to implement global search but its not working for me. Is there any way to implement this stuff?

I tried with below code but its not working in server side model.

In HTML file:

<input type="text" id="filter-text-box" placeholder="Filter..." oninput="onFilterTextBoxChanged()"/>

In JS file:

function onFilterTextBoxChanged() {
    gridOptions.api.setQuickFilter(document.getElementById('filter-text-box').value);
}

reference : https://www.ag-grid.com/javascript-grid-filter-quick/

1
What do you mean by global search? For me, this means searchable anywhere on the application.Baruch
Please check stackoverflow.com/help/mcve and provide us with the necessary code to be able to help youChris Satchell

1 Answers

0
votes

No, Quick filter works only with client side data model.