ng-table 当前可查看项目的变量保持计数
ng-table variable hold count of currently view-able items
ng-table (NgTableParams) 是否有一个变量可以让您找到当前可查看的项目数量(那些未被过滤掉的项目)?这包括用户可以查看(未过滤掉)但可能位于当前未查看的页面上的项目。
不是数据集的全长,ngTable.count(),也不是ngTable.settings().counts。我看过这些 variables/structures.
看来 total 就是您要找的东西。
来自 ng-table 关于总功能的文档:
Returns the count of the data rows that match the current filter
ng-table (NgTableParams) 是否有一个变量可以让您找到当前可查看的项目数量(那些未被过滤掉的项目)?这包括用户可以查看(未过滤掉)但可能位于当前未查看的页面上的项目。
不是数据集的全长,ngTable.count(),也不是ngTable.settings().counts。我看过这些 variables/structures.
看来 total 就是您要找的东西。
来自 ng-table 关于总功能的文档:
Returns the count of the data rows that match the current filter