1) The getDistinctValues Method is used to get a list of the unique values present in the data column.
2) Consider one of the values in the Data Column is 'Dues & Subscriptions'.
3) When getDistinctValues method is executed in order to fetch the list of the unique values in the column then the method should ideally return 'Dues & Subscriptions' as one of the distinct values but the method returns 'Dues \u0026 Subscriptions'.
4) Please refer the below image:
Note: a) \u0026 is the unicode representation of AMPERSAND.
b) The above behavior occurs, while implementing Javascript API version 7.5 and 7.12