rowsPerPage property Null safety

int? rowsPerPage
final

The number of rows to show on each page.

This property is applicable only if the SfDataPager is used to represent the paging functionality.

If you set the value as null, the rows per page is automatically decided based on divided value of the number of rows loaded through DataGridSource.rows by SfDataPager.pageCount.

If you want to maintain the rows per page constantly the same, set the required number of rows to this property.

Implementation

final int? rowsPerPage;