标题栏中怎样增加时间
效果图:
1,拖入一个报表块:
2,插入一个时钟图标:
3,单元格插入公式now(),格式为时间型,改成你想要的年月日,时分秒类型;
4,添加初始化后事件,实时刷新时间:
var form = this.options.form;
setInterval(function() {
form.getWidgetByName('report4').gotoPage(1,"{}",true);
}, 1000);
FR.HtmlLoader.loadingEffect=function(){}
单元格里插入公式:NOW(), 样式改成你要的格式。
时钟插件:https://help.fanruan.com/finereport/doc-view-2051.html
js实时时间:https://help.fanruan.com/finereport/doc-view-1572.html