Table sorting descending
But this:
Will return 'null'
in the backend server and i want to remove that functionality from ng zorro
Is it possible to do it in ngZorro table?
CodePudding user response:
According to the documentation you can setup the properties:
[nzSortOrder]
Sort direction 'ascend' | 'descend' | null
[nzSortDirections]
Supported sort order, could be 'ascend', 'descend', null Array<'ascend' | 'descend' | null>
Default ['ascend', 'descend', null]
https://ng.ant.design/components/table/en (Sort property)