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 关闭};