Mylene 0 Posted September 26, 2016 Report Share Posted September 26, 2016 Hi, I need to hide the report on "chart and report" datapage. I perform calculations in calculated fields and use them on chart. Is there a way to hide the report, I need to show only chart. Thanks Quote Link to post Share on other sites
Mathilda 66 Posted September 26, 2016 Report Share Posted September 26, 2016 Hi Mylene, Please try using the following code in the footer of the results page.: <script language="JavaScript" type="text/javascript"> var tables = document.getElementsByTagName("table"); for (i=0; i<tables.length; i++) { if (tables[i].getAttribute("data-cb-name")=="cbTable") tables[i].style.display = "none"; } </script> Also you need to hide record counter, which shows something like: Records 1-30 Edit Style associated with the datapage and change color in the following class: .cbResultSetRecordMessage Please feel free to ask if something is unclear. Quote Link to post Share on other sites
Mathilda 66 Posted May 9, 2017 Report Share Posted May 9, 2017 I also have another solution. I use the following code in the header of results page: <style>#my table {display:none;} </style> <div id="my"> And in the footer: </div> HTML editor should be disabled in the header and footer. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.