Flexmonster showing abrupt case-sensitive for columns

72
June 10, 2019, at 8:40 PM

If two columns have same values but with different casing i.e first with lowercase and second with uppercase, then flex monster is showing first casing for both of the values. I have two country data with descriptions having same value but different casing. What flexmonster does, it takes casing of first column and populate in other columns. In this case DESCRIPTION with uppercase on all the description fields.

 new Flexmonster({
  container: "#pivot-container",
  componentFolder: "https://cdn.flexmonster.com/",
  report: {
    dataSource: {
  dataSourceType: "json",
  data: [
  {Country:'USA',description:'discription'}, // description in small
  {Country:'India',description:'DISCRIPTION'}, // description in capital
  {Country:'BLA',description:'dIsCrIPtiOn'}, // description mixed
  ]
 },
 options: {
   grid: {
     type: "flat"
  },
   configuratorActive: false
 },
 slice: {
    columns: [{
     uniqueName: "Country"
  },
   {
     uniqueName: "description"
  }
  ]
  }
 },
  width: "100%",
  height: 370
});

My question is why does flexmonster.js does so? And need solution how can I keep fields case insensitive ?

https://jsfiddle.net/9w76thxf/2/

READ ALSO
How do I ask user to confirm action from chrome popup.js?

How do I ask user to confirm action from chrome popup.js?

I have a big red button that resets the extension my extension's popup window

41
Should you use “this” or refer directly to the parent object in javascript?

Should you use “this” or refer directly to the parent object in javascript?

There are some cases in my program where you could either use "this" or just directly refer to the parent object (let's call this Parent) to carry out the same function

56