primeng
primeng copied to clipboard
DataView | Custom sort support
Describe the feature you would like to see added
When I assign new value to DataView component I would like the new data to be automatically sorted if sortField and sortOrder properties are set. Right now it is sorted again only if I change sortField or sortOrder properties or manually call sort function.
Is your feature request related to a problem?
It is a little irritating because the only workaround I found is changing DataView ngOnChanges hook.
Describe the solution you'd like
I would like the new data assigned to value to be sorted if sortField and sortOrder properties are set to correct values.
Describe alternatives you have considered
No response
Additional context
No response
Duplicate of #9662