We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Hello @HalitTalha!
It seems we've encountered this issue before, but it's now reproducible for me again: #2
In version 15.0.0 of the library, an error occurs when using mat-table without a mat-paginator.
I believe the fix would be quite simple — just add a check to ensure the paginator exists before attempting to enable or disable it.
Thanks for your work on this library!
My code:
<div (click)="exporter.exportTable('csv')"> <i class="fas fa-solid fa-download mr-2"></i> Export </div> <table mat-table matTableExporter [dataSource]="dataSource()" #exporter="matTableExporter" [class.d-none]="!dataSource().data.length" > ... <tr mat-header-row *matHeaderRowDef="displayedColumns()"></tr> <tr mat-row *matRowDef="let row; columns: displayedColumns()"></tr> <tr mat-footer-row *matFooterRowDef="displayedColumns()"></tr> </table>
dataSource = computed(() => new MatTableDataSource(this.tableData()?.rows)); displayedColumns = computed(() => this.tableData()?.displayedColumns);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Hello @HalitTalha!
It seems we've encountered this issue before, but it's now reproducible for me again:
#2
In version 15.0.0 of the library, an error occurs when using mat-table without a mat-paginator.
I believe the fix would be quite simple — just add a check to ensure the paginator exists before attempting to enable or disable it.
Thanks for your work on this library!
My code:
The text was updated successfully, but these errors were encountered: