dynamictablesparkline.js
/**
     * Reverse sort order for column
     * @param self The extension
     * @param col The column number, starting with 0
     */
Reverse sort order for column
@param self The extension
@param col The column number, starting with 0
Reverse sort order for column @param self The extension @param col The column number starting with 0
function reverseOrder(self, col) {
        var hypercube = self.backendApi.model.layout.qHyperCube;
        var dimcnt = hypercube.qDimensionInfo.length;
        var reversesort = col < dimcnt ? hypercube.qDimensionInfo[col].qReverseSort :
            hypercube.qMeasureInfo[col - dimcnt].qReverseSort;
        self.backendApi.applyPatches([{
            'qPath': '/qHyperCubeDef/' +
                (col < dimcnt ? 'qDimensions/' + col : 'qMeasures/' + (col - dimcnt)) +
                '/qDef/qReverseSort',
            'qOp': 'replace',
            'qValue': (!reversesort).toString()
        }], true);
    }
function reverseOrder ( self , col ) { var hypercube = self . backendApi . model . layout . qHyperCube ; var dimcnt = hypercube . qDimensionInfo . length ; var reversesort = col < dimcnt ? hypercube . qDimensionInfo [ col ] . qReverseSort : hypercube . qMeasureInfo [ col - dimcnt ] . qReverseSort ; self . backendApi . applyPatches ( [ { 'qPath' : '/qHyperCubeDef/' + ( col < dimcnt ? 'qDimensions/' + col : 'qMeasures/' + ( col - dimcnt ) ) + '/qDef/qReverseSort' , 'qOp' : 'replace' , 'qValue' : ( ! reversesort ) . toString ( ) } ] , true ) ; }
Reverse sort order for column
 @param self The extension
 @param col The column number, starting with 0
Reverse sort order for column @param self The extension @param col The column number starting with 0