DataGrid Pagination

DataGrid

Can we show 10 records per page in dataGrid table, currently default it is 25 Record

Hi,

there is blog article from @Hendrik_Naether1 on the data grid here: Cumulocity IoT Data-Grid Tutorial Series - Part 1.

Pagination is described in Part 2: DataGrid - Pagination and tells:

You can set a page size of 10, 15, 20, 30 or 50 elements per page. If you choose any other number, the grid will fall back to 10.

Thanks for your reply!!!

I set the pagesize 10, like this:
[pagination]=“{ pageSize: 10, currentPage: 1 }”

but it not worked for me…

You can set a page size of 10, 15, 20, 30 or 50 elements per page. If you choose any other number, the grid will fall back to 10.

This is no longer up to date. Allowed page sizes are 25, 50 and 100. If you specify a different page size, it will fall back to 25.



Christian Guether

Thanks for your help!!!