Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the ListService's page variable initial value to 0 #4224

Closed
mehmet-erim opened this issue Jun 4, 2020 · 0 comments
Closed

Set the ListService's page variable initial value to 0 #4224

mehmet-erim opened this issue Jun 4, 2020 · 0 comments

Comments

@mehmet-erim
Copy link
Contributor

We implemented the ngx-datatable and use it instead of abp-table. abp-table will be deprecated. So we designed the ListService for abp-table. There is a conflict in ngx-datatable and abp-table page numbering. The ngx-datatable first page value is 0. We will adapt the ListService for ngx-datatable.

If you are using the ListService with abp-table, you can change input definitions with below in v3.0:

<abp-table
-  [(page)]="list.page"
+ [page]="list.page + 1"
+ (pageChange)="list.page = $event - 1"
>
</abp-table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant