I don't want to Override every Filter or create a new separate Filter!
Not sure I completely understood your problem.
But If you want to enable the filtering row when you click Enter you could make the condition a variable and change it in an eventListener somewhere else?
<MaterialTable
...
options={{
filtering: enableFilteringVariable // Default false
}}
/>
window.addEventListener('keypress', function (e) {
if (e.keyCode === 13) {
enableFilteringVariable = !enableFilteringVariable ;
}
}, false);
No, the problem is that when i use remote data the filter uses a debounce interval & i don't want that, i want to filter data on enter not by itself...
No, the problem is that when i use remote data the filter uses a debounce interval & i don't want that, i want to filter data on enter not by itself...
Kwasik-com you got the solution for searching on press enter?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.
Most helpful comment
No, the problem is that when i use remote data the filter uses a debounce interval & i don't want that, i want to filter data on enter not by itself...