ig.MeasureList
Represents an object that groups all $.ig.Measure objects found in data source measures collection.
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", rows: "[Date].[Calendar]", measures: "[Measures].[Customer Count], [Measures].[Internet Order Count]" }); dataSource.initialize().done(function(metadataTree) { // available when more than one measure is added to measures collection var measureList = dataSource.getMeasureList(); }); }); </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 list.
Returns the caption of the measure list used when displaying the name of the measure list to the user.
- value
- Type:object
-
measures
- .measures( value:object );
- Return Type:
- array
- Return Type Description:
- An array of $.ig.Measure objects.
Returns an array of $.ig.Measure objects this measure list is grouping.
- value
- Type:object