Bug #5776
[UAT3-9/153] - Dashboard
Status: | Closed - End of life cycle | Start date: | December 07, 2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Siti Norahayu Mohd Desa | % Done: | 100% | |
Category: | tpms_uat | Spent time: | - | |
Target version: | - |
Description
Kindly assist to add the title for all downloaded CSV or excel file
Modules:- Overall Dashboard
- Budget Dashboard
- Programme Dashboard
- Impact - Sales Dashboard
- ROI Dashboard
- JPPPA Dashboard
History
#1 Updated by Norhaidah Md Dasuki almost 9 years ago
- Project changed from MATRADE - Trade Promotion Management System (M3-M8) to TPMS_M3-M9: UAT
- Category changed from tpms_uat to tpms_uat
- Assignee changed from Shahidan Syahirman to Aditya Prathama
Aditya, Kindly assist.
#2 Updated by Aditya Prathama almost 9 years ago
dear team, from my investigation this issue is from amchart API. I already create a ticket to them.
#3 Updated by Aditya Prathama almost 9 years ago
- % Done changed from 0 to 30
Amchart Support replied able to put title.
Hi Aditya,
Apologies, I missed the second part of your question. You can override the CSV menu item's click event to do the capture and data conversion manually and prepend the data with your title. Note that you will need to put your custom filename in the click event instead of the fileName property:
"menu": [{
"label": "CSV",
"click": function() {
this.capture({}, function() {
this.toCSV({}, function(data) {
data = "\"Your title here\"\n" + data;
this.download(data, "text/csv", "csvFileName.csv");
});
});
}
}, //...
Here's a demo: http://codepen.io/team/amcharts/pen/bbb2500b194d8c97143f15e7deed85b2
Hope this helps.
Best,
Anthony Piris
amCharts
tested this method already and working. havent apply to all export
#4 Updated by Aditya Prathama almost 9 years ago
- Status changed from New - Begin Life Cycle to Internal Testing
- Assignee changed from Aditya Prathama to Siti Norahayu Mohd Desa
- % Done changed from 30 to 100
Bug fixed, please retest
#5 Updated by Lim Leonard almost 9 years ago
- Status changed from Internal Testing to Development / Work In Progress
- Assignee changed from Siti Norahayu Mohd Desa to Aditya Prathama
hi Adit,
currently the xlsx file cannot be accessed, due to the excel format,
please change the format, so that it will support on lower version of ms excel
thanks
#6 Updated by Lim Leonard almost 9 years ago
- Assignee changed from Aditya Prathama to Shahidan Syahirman
#7 Updated by Shahidan Syahirman almost 9 years ago
currently adit has open a ticket and still waiting for reply from amchart regarding this problem. once amchart support reply, changes will be make later on.
#8 Updated by Siti Norahayu Mohd Desa almost 9 years ago
- File Test Dashboard.doc added
- % Done changed from 100 to 90
Salam Iman,
Re-test. Please refer attachment.
#9 Updated by Shahidan Syahirman almost 9 years ago
- Status changed from Development / Work In Progress to Internal Testing
- Assignee changed from Shahidan Syahirman to Siti Norahayu Mohd Desa
hi akak,
bug fixed. please retest after deploy
thank you
#10 Updated by Siti Norahayu Mohd Desa almost 9 years ago
- Status changed from Internal Testing to User Acceptance Test
- % Done changed from 90 to 100
18/12/15 [Ayu]
Send for user testing
#11 Updated by Norhaidah Md Dasuki over 8 years ago
- Status changed from User Acceptance Test to Closed - End of life cycle
19/12/15 - Issue Closed