添加一个按钮控件,实现点击一次结果为TRUE,再点击一次结果为FASLE,再点击为true
这样
var aa = contentPane.parameterEl.getWidgetByName("aa");
var a = aa.getValue();
if (a == "true") {
aa.setValue("false");
} else {
aa.setValue("true");
}
效果
点击按钮,后面的控件就变
https://help.fanruan.com/finereport10.0/doc-view-4007.html 参考控件接口
-------
https://help.fanruan.com/finereport/doc-view-1215.html 要这个么?