My web application uses an <ace:dataTable> and I want to add a default filter to a column. The datatable uses lazy loading. I know that I can add the filter in my managed bean to the “load”-method.
But I need to set the filter into the filter “textbox” in the view at the start of rendering the page, not implementing the filter in the managed bean.
How can I achieve this?
If I’d understand your problem. If you got a datatable like this:
You got an html code like this:
There you can see the input. Then I’d use jQuery: