Skip to content

Commit 00ebd1f

Browse files
author
Çağatay Çivici
committed
Refactor
1 parent b469c49 commit 00ebd1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

showcase/demo/datatable/datatabledemo.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,8 @@ <h3>Paginator</h3>
456456
<p>See the <a [routerLink]="['/datatable/paginator']">live example.</a></p>
457457

458458
<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>
460461
<pre>
461462
<code class="language-markup" pCode>
462463
&lt;p-column field="vin" header="Vin" sortable="true"&gt;&lt;/p-column&gt;
@@ -501,8 +502,7 @@ <h3>Sorting</h3>
501502
</code>
502503
</pre>
503504

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>
506506
<pre>
507507
<code class="language-markup" pCode>
508508
&lt;p-dataTable [value]="cars" [multiSortMeta]="multiSortMeta"&gt;

0 commit comments

Comments
 (0)