Forums
Show message when Data Not Available - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43)
+---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16)
+---- Thread: Show message when Data Not Available (/showthread.php?tid=387)



Show message when Data Not Available - Abhiram.m - 12-22-2022

We can pass a message, instead of showing Data Not Available while previewing the Dashboard.
We can show messages like Choose different Date Range or any other custom messages. This will help users to understand better, when data is not available.
 
Eg:
sdk.getWidget('datagrid98').m_status.noData = "Rules are not available for the selected date ranges";
sdk.getWidget('datagrid98').m_statuscolor = "#d62728";
b.m_statusfontsize=20;
 
Here Message is        : Rules are not available for the selected date ranges
Colour of Message    : #d62728
Fontsize of Message : 20