Get Free Trial

Default Date & Text formatting of null values

Sandip Savalia asked on March 22, 2018

We’re using the compressor as a data source.  Is there a global way to not have null values default to: (blank) for text and (invalid date) for dates?
I currently have the following two related customizations.

  • formats: [{name: ”, thousandsSeparator: ‘,’, nullValue: ”}, {name: ‘Share’,isPercent: ‘true’}]
  • options: datePattern: ‘UTC:MM/dd/yy’

1 answer

Ian Sadovy Ian Sadovy Flexmonster March 23, 2018

Hello Sandip,
Thank you for the question.
You can change these labels globally by using custom localization.
The following labels should work well for your case:

global: {
localization: {
grid: {
blankMember: "",
dateInvalidCaption: ""

Please find more details how to apply localization in the documentation –
Please let me know if it works for you.

Please login or Register to Submit Answer