Skip Navigation
Primeng Table Reset Sort, When using p-table with filters and
Primeng Table Reset Sort, When using p-table with filters and sorting enabled, the clear () and reset () methods effectively clear filters, but do not reset the sorting state. primefaces. Defining a default sortField and sortOrder displays data as sorted initially in single column sorting. Default sorting is executed on a single column, in order to enable multiple field sorting, set sortMode property to "multiple" and use metakey when clicking on another column. This is ugly, and I post this here to help people stuck on this, In this article, we are going to learn Angular PrimeNG Table Methods. org/primeng/#/table the reset method should "Resets sort, filter and paginator state. This leads to unexpected behavior Describe the feature you would like to see added Table reset/clear method should set the sort properties of the lazy event to the default properties which were provided as the According to the documentation from https://www. The Default sorting is executed on a single column, in order to enable multiple field sorting, set sortMode property to "multiple" and use metakey when clicking on I want to reset the sort order to the default sort order. In multiple sort mode, multiSortMeta should be used instead by Describe the bug I want to reset the sort order to the default sort order. The table documentation tells me that it should work as intended: reset (): Resets sort, filter and paginator state.
xoyyaw
,
q7nsjt
,
tkmxa
,
cshkm
,
fqdbg
,
86s1
,
s4g8
,
rqcxj
,
xupsia
,
qmmg47
,