简体   繁体   English

SpreadJS SetStyle 事件未在“撤消”上调用

[英]SpreadJS SetStyle event not called on `undo`

I'm using SpreadJS in my application, and came accros this behavior.我在我的应用程序中使用了 SpreadJS ,并且遇到了这种行为。

When I set a style the SetStyle event is called.当我设置样式时,会调用SetStyle事件。

When I hit UNDO , the SetStyle event is not called.当我点击UNDO时,不会调用SetStyle事件。

If I press REDO the SetStyle event is called.如果我按REDO ,则会调用SetStyle事件。

I was wondering, does UNDO call a different event when undoing?我想知道,撤消时UNDO会调用不同的事件吗? If so which one?如果有,是哪一个?

I am a member of GrapeCity's Technical Engagement team supporting SpreadJS.我是支持 SpreadJS 的 GrapeCity 技术参与团队的成员。 I have a few questions so that I can look into what you are reporting:我有几个问题,以便我可以查看您报告的内容:

  • SpreadJS does not have a SetStyle event, since this can check and confirm here what SpreadJS Event you are using? SpreadJS 没有 SetStyle 事件,因为这可以在这里检查并确认您正在使用什么SpreadJS 事件
  • I see you mention when you hit undo, can you confirm if this is the undo button in the Designer Component 's ribbon?我看到您在点击撤消时提到过,您能否确认这是否是Designer Component功能区中的撤消按钮?
  • How are you setting the style of a cell?你如何设置单元格的样式?
  • Please share a code snippet or sample app that shows the event behavior you are reporting.请分享显示您报告的事件行为的代码片段或示例应用程序。

Thank you, Mackenzie Albitz谢谢你,麦肯齐阿尔比茨

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM