Expose the primeng alwaysShowPaginator property

Is it possible to expose the primeng alwaysShowPaginator property on the datagrid? Looking at the rendered html, radzen uses the datatable from primeng which has this property that’s default set to true. Showing the paginator when there’s only one page is not necessary.

Or is there another way to accomplish this?

This should be currently possible by setting the AllowPaging property of the DataGrid conditionally

21

Correct me if I’m wrong, but wouldn’t that give a conflict with the generated methods for loading data? Where a check on the allowPaging property of the grid is used to determine the $top, $count and $skip?

Hi Ruben,

We’ve decided to set this property to false internally, you are right there is no need to show the pager when there is only one page.

Best Regards,
Vladimir