I mean <p:dataTable>
with defined filter. I'd like that when it'll finish loading and rendering the values in it will be filtered.
Thank you.
UPDATE:
I've used this code
<p:remoteCommand name="onload" oncomplete="PF('ticketTable').filter()" autoRun="true"/>
from this question: PrimeFaces. Update DataTable after Rendering, it updates table after loading but there's a significant gab after table has been rendered and updated. I'd try to decrease it by setting `filterDelay="1" but without significant changes. Maybe somebody have another ideas?
UPDATE 2
All solutions where filter invoked onLoad
or onReady
not good because table is rendered filled with values and then filtered and it creates bad user experience. I'm looking for solution where table will be rendered with filtered values. Almost sure to achieve this I need to overwrite renderer
.