DataTable clearFilter() not working properly

前端 未结 4 899
失恋的感觉
失恋的感觉 2021-02-02 14:33

I have a complicate JSF that contain dataTable with filter in each one of the columns. In order to make sure that the generate button will fetch all the data first I need to cle

4条回答
  •  无人及你
    2021-02-02 15:00

    This is how i solved my problem.

     RequestContext requestContext = RequestContext.getCurrentInstance();
     requestContext.execute("PF('widget_orderDataTable').clearFilters()");
    

    Hope its help.

提交回复
热议问题