Hi,
Could you consider adding the ability to enter a custom error message when using the following option:
Options > showEmptyData: false
The current message can be misleading as from a customer perspective they are unlikely to know what a csv is, a better message maybe "No data found, please try again" or the ability to define your own error message.
Thanks
Ben
Hello Ben,
Thank you for the question. You can define your own error message using localization
parameter. If you are not using localization in your application, please consider defining this message the following way:
var pivot = $("#pivotContainer").flexmonster({
toolbar: true,
licenseKey: "XXXX-XXXX-XXXX-XXXX-XXXX",
global: {
localization: {
messages: {
"noDataAvailable": "No data found, please try again."
}
}
},
report: //your report
});
If you already use localization, please open your localization file, find the message Data source is empty. Please check the CSV file.
and replace it with your own.
You are welcome to read more about localization in our documentation. Please let us know if any of these approaches works for you.
Regards,
Tanya