Skip to content

MaTable组件功能使用统计功能会强制使用根据数值大小排序,建议能配置不排序 #715

@wangxianghong

Description

@wangxianghong

建议在配置的defaultSort.order再额外加一个参数,不使用排序。
目前是
declare type TableSortOrder = "ascending" | "descending";

我目前为了达到不使用排序的方案是
// 表格参数
tableOptions: {
defaultSort: { prop: 'quantity', order: null },
}
将order配置为null

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions