Skip to content

Table Filter row by numeric & text should fir on type ? #44

Answered by ThoSap
ashikjs asked this question in PrimeNG
Discussion options

You must be logged in to vote

@ashikjs the PrimeNG Table Filter Row by default only filters by pressing Enter, so this is no bug.

But there exists a numeric input property called filterDelay (example [filterDelay]="500") you can pass to the <p-table> instance,
which automatically triggers filtering when the user stops typing after the specified milliseconds (e.g. 500 ms in this case),
but I could not get it working in a StackBlitz example right now.

I'm using this feature in production with Angular v14.3.0 and PrimeNG v14.1.2, there this filterDelay works for sure.

Unrelated to this, but if you decide to use the <p-columnFilter> with display="menu" instead of row, you can automatically close the open filter menu on En…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ashikjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants