Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dynamic Report View
fmakwsi
<p>Hey guys,</p><p> </p><p>i done some rethinking about my report and recognized that my table and my bar chart are empty if i got an empty database. The use case would be to show a Message/Messagebox instead of them. Anyone can mention me a solution, or a light muse?</p><p> </p><p> </p><p>greetzings </p><p> </p><p> </p><p>Florian</p>
Find more posts tagged with
Comments
fmakwsi
<p>my idea is about my scripted data source..</p><p> </p><p>hourJournalLists size is 0 there should be the message</p><pre class="_prettyXprint _lang-js">companyData = new Packages.de.cjt.estuss.report.data.CompanyData();importPackage(java.util);importPackage(java.lang);importPackage(java.text);hourJournalList = new Packages.java.util.ArrayList();if (companyData != null) { hourJournalList = companyData.getHourJournals();}if (hourJournalList == null) { throw "Can not retreive db data: Error caused by: list == null";} rowCounter = 0;arrayOfDates = new Array(hourJournalList.size());;isFirstRow = true;</pre>
micajblock
<p>Why not just have a label with visibility based on whether there is data or not. I think there is an example on DevShare.</p>
fmakwsi
<p>mh could do that aswell, but i keep on trying</p>
fmakwsi
<p>i made what you said but after i've tried some stuff about the visibility of an label, i wanted to know if that is possible with a table and chart aswell and well it worked :-)</p>