public class

GridFormatHelper

extends GridWebFormatHelper
java.lang.Object
   ↳ com.microstrategy.web.beans.GridWebFormatHelper
     ↳ com.microstrategy.web.app.beans.GridFormatHelper

Class Overview

This class provides a series of methods that aid on the manipulation of grid formatting properties.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.beans.GridWebFormatHelper
Public Constructors
GridFormatHelper()
Public Methods
static String getDefaultNumberDateDescriptor(AppContext appContext, String numberDateLocale, String descriptorId)
For the specified locale, obtain which is the descriptor to be used
static String getNumberDateLocale(AppContext appContext)
Based on the user's preferences, obtain which locale should be used for formatting number and dates
[Expand]
Inherited Methods
From class com.microstrategy.web.beans.GridWebFormatHelper
From class java.lang.Object

Public Constructors

public GridFormatHelper ()

Public Methods

public static String getDefaultNumberDateDescriptor (AppContext appContext, String numberDateLocale, 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

public static 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