Luckysheet icon indicating copy to clipboard operation
Luckysheet copied to clipboard

计算字段排序失败

Open wusongping opened this issue 4 years ago • 5 comments

Describe the bug 报表产生计算字段后, 执行排序, 发现非计算字段数据可以按照规则排序, 但计算字段数据只按原样子显示, 排序失效.

To Reproduce Steps to reproduce the behavior:

  1. The first step
  2. The second step
  3. The third step
  4. See error

What is expected? 计算字段可以与非计算字段一样实现排序功能

Screenshots or demo

Environment luckysheet v2.1.13

Additional context Add any other context about the problem here.

wusongping avatar Feb 24 '21 09:02 wusongping

我也遇到了这个问题。排序后。公式会跑偏,不会自动更新。比如是第一行,C1=sum(A1+B1); 利用luckysheet.setRangeSortMulti排序后,变为其他行例如C2,但是C2的公式还是=sum(A1+B1)

oy-paddy avatar Mar 05 '21 01:03 oy-paddy

我也遇到了这个问题。排序后。公式会跑偏,不会自动更新。比如是第一行,C1=sum(A1+B1); 利用luckysheet.setRangeSortMulti排序后,变为其他行例如C2,但是C2的公式还是=sum(A1+B1)

排序之后,公式应该也要更新,C2=sum(A2+B2) 才对

oy-paddy avatar Mar 05 '21 01:03 oy-paddy

是的,现在仍然发现了这一问题,所使用的luckyexcel版本号是1.0.1。

tcguoxing avatar Apr 08 '23 06:04 tcguoxing

我也遇到了这个问题。排序后。公式会跑偏,不会自动更新。比如是第一行,C1=sum(A1+B1); 利用luckysheet.setRangeSortMulti排序后,变为其他行例如C2,但是C2的公式还是=sum(A1+B1)

排序之后,公式应该也要更新,C2=sum(A2+B2) 才对

请问您解决了吗?我也碰到了这一问题。

tcguoxing avatar Apr 08 '23 06:04 tcguoxing

我也遇到了这个问题。排序后。公式会跑偏,不会自动更新。比如是第一行,C1=sum(A1+B1); 利用luckysheet.setRangeSortMulti排序后,变为其他行例如C2,但是C2的公式还是=sum(A1+B1)

排序之后,公式应该也要更新,C2=sum(A2+B2) 才对

请问您解决了吗?我也碰到了这一问题。 同理dataVerification数据验证配置的下拉也是如此,下拉的条件不会跟随排序变动

AIM-1993 avatar Dec 08 '23 02:12 AIM-1993