Office.EventType.BindingDataChanged在格式更改时触发 [英] Office.EventType.BindingDataChanged fires on formatting change

查看:78
本文介绍了Office.EventType.BindingDataChanged在格式更改时触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以阻止这种行为吗?当数据没有改变时,它似乎有点像'数据已更改'事件的错误,只有格式化。如果我改变整行的格式,因为
为行中的每个单元格生成数据更改事件,这就变得特别烦人。

Is there any way to prevent this behavior? It seems kind of like a bug for a 'data changed' event to fire when the data didn't change, only the formatting. This becomes particularly annoying if I, for example, change the formatting of an entire row as that generates a data changed event for every cell in the row.

现在我通过编写一个函数将旧数据与新数据进行比较,看看它是否真的发生变化,但这并不理想(效率低下,不得不每次调用它都很烦人)。我希望使用数据更改事件。)

For now I got around this by writing a function to compare the old data to the new and see if it actually changed, but it's not ideal (inefficient, annoying to have to call it every time I want to use a data changed event).

Ian

推荐答案

Hi Lan,

Hi Lan,

感谢您在MSDN论坛上发帖。

Thank you for posting in the MSDN Forum.

我试图让一些高级工程师参与这个问题,这需要一些时间。非常感谢您的耐心。

I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.

很抱歉给您带来不便,祝您有个愉快的一天!

Sorry for any inconvenience and have a nice day!


这篇关于Office.EventType.BindingDataChanged在格式更改时触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆