File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -456,7 +456,8 @@ <h3>Paginator</h3>
456
456
< p > See the < a [routerLink] ="['/datatable/paginator'] "> live example.</ a > </ p >
457
457
458
458
< h3 > Sorting</ h3 >
459
- < p > Simply enabling sortable property at column object is enough to make a column sortable.</ p >
459
+ < p > Simply enabling sortable property at column object is enough to make a column sortable. The property to use when
460
+ sorting is field by default and this can be customized using sortField.</ p >
460
461
< pre >
461
462
< code class ="language-markup " pCode >
462
463
<p-column field="vin" header="Vin" sortable="true"></p-column>
@@ -501,8 +502,7 @@ <h3>Sorting</h3>
501
502
</ code >
502
503
</ pre >
503
504
504
- < p > To customize sorting, set sortable option to < i > custom</ i > and define a sortFunction that sorts the list. The property to use when
505
- sorting is field by default and this can be customized using sortField.</ p >
505
+ < p > To customize sorting, set sortable option to < i > custom</ i > and define a sortFunction that sorts the list.</ p >
506
506
< pre >
507
507
< code class ="language-markup " pCode >
508
508
<p-dataTable [value]="cars" [multiSortMeta]="multiSortMeta">
You can’t perform that action at this time.
0 commit comments