You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use table together with pagination for displaying search results.
When I have the X number of pages for results, and then I'm setting new data with X number of rows (same number as number of pages in previous search results), I'm seeing still X number of pages in pagination page select.
Because this._pageOptions.length !== this.totalDataLength is false, as totalDataLength is the same number as a number of pages before. So, this getter is never recalculated.
The text was updated successfully, but these errors were encountered:
I use table together with pagination for displaying search results.
When I have the X number of pages for results, and then I'm setting new data with X number of rows (same number as number of pages in previous search results), I'm seeing still X number of pages in pagination page select.
The issue is with this code:
carbon-components-angular/src/pagination/pagination.component.ts
Line 323 in 6f06496
Because this._pageOptions.length !== this.totalDataLength is false, as totalDataLength is the same number as a number of pages before. So, this getter is never recalculated.
The text was updated successfully, but these errors were encountered: