Group Sort
Previous
Custom Sort
Next
Theme
Loading...
Sort行头/列头
according to数值升/降序
order. See more sorting examples
组内排序
a group means that it only affects the sorting within a group. For example, when笔-价格
selects组内升序
the figure below, the sorting method of省份
will not change, only the order of城市
within each省份
will be changed.
There is only a single state for行头/列头
, and the current state will overwrite the previous state. As shown in the figure above, when the笔
is sorted, the sorting state of the纸张
disappears, and行头+列头
can have their own status at the same time.
The component SheetComponent
that uses s2-react
displays the icon
in the value head by default, click to select, there are three ways of升序、降序、不排序
, and the display can be configured in options
, as follows:
const s2Options = {width: 600,height: 600,showDefaultHeaderActionIcon: true, // 默认为打开,可设置为 false 关闭};