Application Report Tool Finereport developers will find their mobile app also introduced a lot of JS interface, how many of these interfaces, and where the mobile side of the call JS, These interfaces are exactly how to invoke it. According to my usual development experience, to give you a summary, including the interface list, related script functions and specific demonstration examples, I hope you can more effectively use these JS interface to facilitate the relevant work.
1. Finereport Mobile side where to support the call JS
650) this.width=650; "src=" Http://static.oschina.net/uploads/space/2015/1202/101826_M06K_2419567.jpg "style=" padding:0px;margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb (244,247,249); alt= 101826_M06K_ 2419567.jpg "/>
2. Script functions supported by the control
650) this.width=650; "src=" Http://static.oschina.net/uploads/space/2015/1202/101945_zyfB_2419567.jpg "style=" padding:0px;margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb (244,247,249); alt= 101945_zyfB_ 2419567.jpg "/>
3. Paging Preview script functions supported by the report
650) this.width=650; "src=" Http://static.oschina.net/uploads/space/2015/1202/102110_37PY_2419567.jpg "style=" padding:0px;margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb (244,247,249); alt= 102110_37PY_ 2419567.jpg "/>
4. Complete the script functions supported by the preview report
650) this.width=650; "src=" Http://static.oschina.net/uploads/space/2015/1202/102610_eMWk_2419567.jpg "style=" padding:0px;margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb (244,247,249); alt= 102610_eMWk_ 2419567.jpg "/>
650) this.width=650; "src=" Http://static.oschina.net/uploads/space/2015/1202/102625_Aoiq_2419567.jpg "style=" padding:0px;margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb (244,247,249); alt= 102625_Aoiq_ 2419567.jpg "/>
5. Common Tool-Class scripting functions
650) this.width=650; "src=" Http://static.oschina.net/uploads/space/2015/1202/102801_Ks8G_2419567.jpg "style=" padding:0px;margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb (244,247,249); alt= 102801_Ks8G_ 2419567.jpg "/>
650) this.width=650; "src=" Http://static.oschina.net/uploads/space/2015/1202/102817_2k39_2419567.jpg "style=" padding:0px;margin:10px 0px;border:1px solid RGB (221,221,221); Background:rgb (244,247,249); alt= 102817_2k39_ 2419567.jpg "/>
6. Specific Use examples
6.1 A series of methods for getting controls
1. This. Options.form.getWidgetByName (" control name "); // parameter interface and form to get the control
1.Contentpane.getwidgetbycell (" cell "); //Fill out interface get control
1.Contentpane.getwidgetbyname (" control name "); //Fill out interface get control
6.2 After successful completion, refresh the current page
1. var url = "/webreport/reportserver?reportlet=js/shauxindangqian.cpt&op=write&__replaceview__=true" ;
2. FR.doHyperlinkBy Get (Url,{para:paravalue}); // refresh current page
6.3 js get the form diagram component and refresh the data
1. var c=fr. Chart.WebUtils.getChart ( "chart0"
2. C.datarefresh ();
6.4 Delay function
1. setTimeout (function () { }, 500
6.5 A hyperlink to B, b after the data is returned a, a automatically refresh the display of new data
1. Contentpane.setappearrefresh (); // Add JS to the event after the end of a load
Report development tool Finereport mobile app JS interface List "full"