How to do pagination on dataGrid in cuba plateform?

How to do pagination on dataGrid in cuba plateform?

Use universal Filter component with DataGrid for enable pagination.

Thanks for reply Andrey.

But when use delegate. CollectionLoader.setMaxResults() not work.
error pagination

CollectionLoader.setMaxResults() does not affect on pagination control in UI.
Only Filter component.