I set a custom name for the blank columns with:
localization: {
grid: {
blankMember: "No Pivot"
}
},
and its generally working but sometimes for no obvious reason just switching back to blank. Do you know what could be going wrong? On the screenshot I keep expanding column by column and everything is good until I expand Column 35 when suddenly it switches back to (blank). Here is full report definition:
report: {
dataSource: {
data: ret.data,
mapping: scil.Registration.FlexViewer.getmapping(ret)
},
options: {
grid: {
showTotals: "off",
},
},
formats: [
{
name: "customnumber",
...scil.Registration.FlexViewer.digitformat
}
],
slice: {
columns: scil.Registration.FlexViewer.getcols(ret),
rows: scil.Registration.FlexViewer.getrows(ret),
measures: scil.Registration.FlexViewer.getmeasures(ret)
},
localization: {
grid: {
blankMember: "No Pivot"
}
},
}
Hello,
Thank you for contacting us.
We recently encountered a similar issue with localization when using the updateData
API call. Our team will provide a fix with our minor release with the ETA February 17th. Could you please confirm if the custom name for the blank column disappears when the updateData
method is called? It would greatly help us.
As a temporary workaround, we recommend setting localization in the GlobalObject. For example:
const pivot = new Flexmonster({
container: "#pivot-container",
global: {
localization: {
grid: {
blankMember: "No Pivot"
}
}
},
// other properties
})
Please check our documentation for more details: https://www.flexmonster.com/doc/localizing-component/#set-a-localization.
Looking forward to hearing from you.
Kind regards,
Nadia