Class ReportCellSortColAscending

  • All Implemented Interfaces:
    ContextMenuItemBuilder

    public class ReportCellSortColAscending
    extends AbstractReportCellSort
    ReportCellSortColAscending will enable users to request the column sorting of a given field on the grid in ascending order.
    Since:
    MicroStrategy Web 8.0.2
    • Constructor Detail

      • ReportCellSortColAscending

        public ReportCellSortColAscending​(Shortcut definition)
    • Method Detail

      • getJSCode

        protected java.lang.String getJSCode​(TransformContext context)
        Overwrites the parent method by specifying the event information that will ultimately populate the menu option with the request information needed for submitting the sort ascending manipulation.
        Specified by:
        getJSCode in class AbstractReportCellContextMenuItemBuilder
        Parameters:
        context - TransformContext initialized instance with the information on where this option will be used
        Returns:
        String value with the JavaScript information to trigger when the option is selected.