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
203 stars 140 forks source link

I want to display a range on a custom pager as well. #223

Closed rapan931 closed 1 year ago

rapan931 commented 1 year ago

Thanks Great package.

The default pager in AsyncPaginatedDataTable2 shows a range. I would like to display this in the custom pager as well. image

Since the properties rowCount and rowsPerPage already exist in PaginatorController, I believe all I need is the index number of the first row (like firstRowIndex) to display. Would it be possible to add it?

thanks.

rapan931 commented 1 year ago

Sorry.

I see that there is already a property called currentRowIndex.

closed