Table: load data only on click of button

My table have a big query, so I want to make the user filter some fields before displaying the table data. It’s possible to make the table get the data only on the click of some button? Actually when I load my view the table already get the data.

I’m also using
Lazy Container
to paginate my table.

Somewhere you’re creating the container to fetch the data and then you use table.setContainerDataSource to display the data in the table.
Instead of doing that on init() or when building the layout you just execute it in the ClickListener.

Thanks Marius. I ended up with a solution that confirms your answer: http://stackoverflow.com/questions/17086243/vaadin-table-load-data-only-on-click-of-button