Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通过智能表渲染表格后,单击标题,它将对该列进行排序。
如何重置排序状态,例如单击某些重置按钮?
我找到了解决方案。
您可以像这样将排序谓词设置为未定义:
$scope.tableController.tableState().sort.predicate = undefined
希望它有帮助。