【发布时间】:2025-12-09 17:05:03
【问题描述】:
我已经实现ng2 smart table grid 上市
https://akveo.github.io/ng2-smart-table/#/documentation
在这里我想整合 2 列的排序。为此,我使用了代码
storeid: {
title: 'Store #',
sort: true
},
但这不是数字排序。它排序为1,10,11... 而不是1,2,3...
对于特定列,comparefunction 是否有任何示例。
请帮帮我。
【问题讨论】: