We have changed our pricing. Flexmonster Software License Agreement was also updated (list of changes)

Switching from set blank name back to default blank bug

Answered
Nikita asked 6 days ago

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"
                                }
                            },
                        }

1 answer

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster 4 days ago

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

Please login or Register to Submit Answer