Skip to content

Commit

Permalink
Merge pull request #15836 from khayo/patch-1
Browse files Browse the repository at this point in the history
Update multiplecolumnssortdoc.ts
  • Loading branch information
cetincakiroglu committed Jun 13, 2024
2 parents 52e3607 + 3c85859 commit f8825b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/showcase/doc/table/multiplecolumnssortdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class MultipleColumnsSortDoc {
}

code: Code = {
basic: `<p-table [value]="products1" [tableStyle]="{'min-width': '60rem'}">
basic: `<p-table [value]="products1" [tableStyle]="{'min-width': '60rem'}" sortMode="multiple">
<ng-template pTemplate="header">
<tr>
<th pSortableColumn="code" style="width:20%">
Expand All @@ -78,7 +78,7 @@ export class MultipleColumnsSortDoc {
</ng-template>
</p-table>`,
html: `<div class="card">
<p-table [value]="products1" [tableStyle]="{'min-width': '60rem'}">
<p-table [value]="products1" [tableStyle]="{'min-width': '60rem'}" sortMode="multiple">
<ng-template pTemplate="header">
<tr>
<th pSortableColumn="code" style="width:20%">
Expand Down

0 comments on commit f8825b1

Please sign in to comment.