Skip to content

Commit

Permalink
Merge pull request #11119 from cetincakiroglu/showcase-fix
Browse files Browse the repository at this point in the history
Fix showcase - add table responsiveLayout
  • Loading branch information
yigitfindikli committed Feb 7, 2022
2 parents 185d261 + 9c7dd94 commit da7f61b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/showcase/components/table/tabledemo.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1>Table</h1>
<div class="content-section implementation">
<div class="card">
<p-table #dt [value]="customers" [(selection)]="selectedCustomers" dataKey="id" styleClass="p-datatable-customers" [rowHover]="true"
[rows]="10" [showCurrentPageReport]="true" [rowsPerPageOptions]="[10,25,50]" [loading]="loading"
[rows]="10" [showCurrentPageReport]="true" [rowsPerPageOptions]="[10,25,50]" [loading]="loading" responsiveLayout="scroll"
[paginator]="true" currentPageReportTemplate="Showing {first} to {last} of {totalRecords} entries"
[filterDelay]="0" [globalFilterFields]="['name','country.name','representative.name','status']">
<ng-template pTemplate="caption">
Expand Down Expand Up @@ -3666,7 +3666,7 @@ <h5>Dependencies</h5>
</a>
<app-code lang="markup" ngNonBindable ngPreserveWhitespaces>
&lt;p-table #dt [value]="customers" [(selection)]="selectedCustomers" dataKey="id" styleClass="p-datatable-customers" [rowHover]="true"
[rows]="10" [showCurrentPageReport]="true" [rowsPerPageOptions]="[10,25,50]" [loading]="loading"
[rows]="10" [showCurrentPageReport]="true" [rowsPerPageOptions]="[10,25,50]" [loading]="loading" responsiveLayout="scroll"
[paginator]="true" currentPageReportTemplate="Showing &#123;first&#125; to &#123;last&#125; of &#123;totalRecords&#125; entries"
[filterDelay]="0" [globalFilterFields]="['name','country.name','representative.name','status']"&gt;
&lt;ng-template pTemplate="caption"&gt;
Expand Down

0 comments on commit da7f61b

Please sign in to comment.