Search code examples
datagridpaginationvmware-clarity

How to move to a specific page programmatically in Clarity data grid


I using a server driven clarity data grid and want to move to a specific page programmatically.


Solution

  • The datagrid pagination offers a [(clrDgPage)] two-way binding. Please note that the page numbers start on 1, not 0.

    You can check out https://vmware.github.io/clarity/documentation/v0.11/datagrid/pagination for more information.