Closed blngblng closed 1 month ago
@fangsmile 请问这种格式下的指标是不是不允许排序,在上面的例子基础下,我给indicators设置了sort: true后,显示排序图标,但是点击之后没有任何效果(包括排序图标的高亮),也没有报错,能触发click_cell事件和pivot_sort_click事件。又将showSort: true试了一下,但是pivot_sort_click每次返回的都是同样的值,尝试使用updatePivotSortState去修改透视表相关字段的排序图标状态也没反应。
因为部分业务场景需要自己另外实现筛选,为了数据格式好处理,我是按下面这样子来设置透视表的数据格式的,想问一下这种格式的数据,是不是透视表的排序就不支持了,点击排序的时候是有时可以有时失效,而且倒序和顺序的时候没有高亮小三角。