Hello,
We are considering to buy flexmonster, to transition our existing reporting tool, and I have a couple of questions.
(TaxNumber and Company Name)
Is there a way to always display these two rows in those reports, without the need for the expand arrow??
(Check the attached image)
2) When clicking on a numeric cell, it displays the "Details" pop-up.
Is there a way to export to EXCEL from this window??
Thank you.
Hello, Stelios,
Thank you for reaching out to us.
Please find the answers below:
expandAll
property to true
in the expands
object of the slice:
"expands": {
expandAll: true
}
Please check the following sample illustrating the described approach: https://jsfiddle.net/flexmonster/xsdqj5yp/
Please let us know if everything works fine. Looking forward to hearing from you.
Kind regards,
Nadia
Hello, Nadia,
Thank you for your response.
The answers you provided seem to do what we need.
However, as I was testing, I noticed a weird behavior in the SUM column.
The generated (from the script) column only sums the integer part of the numbers, while the column I added manually, sums correctly the decimal parts.
(In the image "Total sum of Total" is the generated column, while "GrandTotal" is the column I added manually).
Is there something I need to do in the script code??
The code for the report I am using:
report: {
dataSource: {data: jsonData},
slice: {
rows: [
{uniqueName: "TaxNumber"},
{uniqueName: "Company Name"}
],
measures: [{
uniqueName: "Total",
aggregation: "sum"
}],
expands: {
expandAll: true
}
},
options: {
grid: {
viewType: "grid",
type: "classic"
}
}
},
Kind regards,
Stelios