ig.MeasureGroup

ig.MeasureGroup_image
Represents a measure group within a cube.

Code Sample

<!doctype html>
<html>
<head>
    <!-- jQuery Core -->
    <script src="js/jquery.js" type="text/javascript"></script>
    <!-- jQuery UI -->
    <script src="js/jquery-ui.js" type="text/javascript"></script>
    <!-- Infragistics Combined Scripts -->
    <script src="js/infragistics.core.js" type="text/javascript"></script>
    <script src="js/infragistics.lob.js" type="text/javascript"></script>
    <script type="text/javascript">
        $.support.cors = true;                
        $(function () {
            var dataSource = new $.ig.OlapXmlaDataSource({
                serverUrl: "http://sampledata.infragistics.com/olap/msmdpump.dll",
                catalog: "Adventure Works DW Standard Edition",
                cube: "Adventure Works"
            });
			
            dataSource.initialize().done(function(metadataTree) {
                var measureGroup = dataSource.measureGroup();
                var measureGroups = dataSource.measureGroups();
                
                dataSource
                    .setMeasureGroup(measureGroups[0].uniqueName())
                    .done(function (metadataTree){
                        // metadata tree updated to reflect selected measure group structure
                    });
            });
        });            
    </script>
</head>
<body>
</body>
</html>
    

Related Topics

Dependencies

jquery-1.9.1.js
infragistics.util.js
The current widget has no options.
The current widget has no events.
  • caption

    .caption( value:object );
    Return Type:
    string
    Return Type Description:
    The caption of the measure group.

    Returns the caption of the measure group used when displaying the name of the measure group to the user.

    • value
    • Type:object
  • catalogName

    .catalogName( value:object );
    Return Type:
    string
    Return Type Description:
    The name of the catalog to which this measure group belongs.

    Returns the name of the catalog to which this measure group belongs.

    • value
    • Type:object
  • cubeName

    .cubeName( value:object );
    Return Type:
    string
    Return Type Description:
    The name of the cube to which this measure group belongs.

    Returns the name of the cube to which this measure group belongs.

    • value
    • Type:object
  • description

    .description( value:object );
    Return Type:
    string
    Return Type Description:
    The description of the measure group.

    Returns a user-friendly description of the measure group.

    • value
    • Type:object
  • name

    .name( value:object );
    Return Type:
    string
    Return Type Description:
    The name of the measure group.

    Returns the name of the measure group.

    • value
    • Type:object

Copyright © 1996 - 2024 Infragistics, Inc. All rights reserved.

#