12-22-2022, 08:23 AM
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
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