如何在展开和折叠时更改文本框的值 [英] how to change value of a textbox on expand and collapse

查看:77
本文介绍了如何在展开和折叠时更改文本框的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我创建了一个简单的报告.在此报告中,我有一个标题,所有详细信息都在其下方.现在,所有详细项目的可见性设置为ToggleItem并设置为标题文本框.这意味着当您单击标题时,它将切换详细控件的可见性.一切都好.

问题是当有人展开或折叠它以显示全部或全部隐藏时,我只想更改标题文本.这样的事情.

有帮助吗?

在此先感谢您.

HI all,

I have created a simple report. In this report I have a header and all the details are below that. Now All the detailed items'' visibility is set to ToggleItem and set to the header textbox. That means when you click on header it will toggle the visibility of detailed controls. Everything is fine.

Problem is I just want to change the header text when someone Expand or Collapse it to show all or hide all. Something like that.

Any help??

Thanks in advance.

推荐答案

您可以使用Javascript函数来执行此操作.您可以根据Expand或Collapse事件更改此值.
You can use Javascript function to do this. You can change this values based on the Expand or Collapse event.


这篇关于如何在展开和折叠时更改文本框的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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