Is is possible to put a globalFilter input in a toolbar outside the p:dataTable<> tag?

UI Components for JSF
Post Reply
primeUser99282
Posts: 36
Joined: 14 Nov 2021, 01:48

22 Nov 2021, 20:04

Is is possible to put a globalFilter input in a toolbar outside the p:dataTable<> tag?

When I do this, it isn't calling the filter function that is defined in the p:dataTable. Is there another way to do this?

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

23 Nov 2021, 15:16

I would think as long as the globalFilter is in the same h:form as the datatable it would work anywhere? Are you saying that is not the case?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

primeUser99282
Posts: 36
Joined: 14 Nov 2021, 01:48

23 Nov 2021, 23:53

Correct, I'm not seeing the globalFilterFunction called if the globalFilter input is outside of the p:dataTable

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests