maxim-saplin / data_table_2

In-place substitute for Flutter's DataTable and PaginatedDataTable with fixed/sticky header and extra features
https://pub.dev/packages/data_table_2
BSD 3-Clause "New" or "Revised" License
202 stars 135 forks source link

feat: Added customizable parameter for rowsPerPage #279

Closed YJZeng1120 closed 3 months ago

YJZeng1120 commented 4 months ago

I added some parameters, primarily for adjusting rowsPerPage.

maxim-saplin commented 4 months ago

Thanks for the PR. PaginatedDataTable2 is currently bloated with all kinds of properties, I don't think it makes sense to keep it growing. The sort of customisations of pagination are supposed to be done via overriding it completely: https://maxim-saplin.github.io/data_table_2/#/paginated2

What I can offer instead to do is create a sample that uses a custom pagination (which is a clone of standard pagaintor) and has the desired customizations

YJZeng1120 commented 3 months ago

OK, I understand, thanks for your contribution!