Primefaces blockUI stops working after ajax update

后端 未结 3 1455
失恋的感觉
失恋的感觉 2020-12-11 16:17

I am trying to create a datatable that displays a blockUI whenever it is busy, and I have been mostly successful. It now grays out and shows \"Loading...\" whenever I click

3条回答
  •  独厮守ぢ
    2020-12-11 16:43

    The trigger attribute binds jQuery listeners on the specified elements. However if you update an element the binding gets lost. I don't know if it works, but you could try moving the inside the resultsPanel. I suspect that when you update the panel the blockUI gets updated too and thus re-binding the listener to the data table.

    
        ...
        
            ...
        
        ....
        
        Loading...
    
    
    

提交回复
热议问题