Class GridFormatHelper


  • public class GridFormatHelper
    extends GridWebFormatHelper
    This class provides a series of methods that aid on the manipulation of grid formatting properties.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • GridFormatHelper

        public GridFormatHelper()
    • Method Detail

      • getNumberDateLocale

        public static java.lang.String getNumberDateLocale​(AppContext appContext)
        Based on the user's preferences, obtain which locale should be used for formatting number and dates
        Parameters:
        appContext - AppContext initialized instance
        Returns:
        the string code of the locale selected by the user on his/her preferences
      • getDefaultNumberDateDescriptor

        public static java.lang.String getDefaultNumberDateDescriptor​(AppContext appContext,
                                                                      java.lang.String numberDateLocale,
                                                                      java.lang.String descriptorId)
        For the specified locale, obtain which is the descriptor to be used
        Parameters:
        appContext - AppContext initialized instance
        numberDateLocale - the string code of the locale selected by the user
        descriptorId - the id of the descriptor requested
        Returns:
        the String value corresponding to the descriptor id sent as parameter