ig.OlapResultCell

ig.OlapResultCell_image
Represents a data cell object within $.ig.OlapResult.

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) {
                // the result of the pre-loaded rows, columns, filters and measures is evaluated as part of initialization 
                var result = dataSource.result();
                
                var resultCells = result.cells();
                // iterate through result cells collection
                for (var i = 0; i < resultCells.count(); i++){
                    var resultCell = resultCells().item(i);
                }
            });
        });            
    </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.
  • cellOrdinal

    .cellOrdinal( value:object );
    Return Type:
    number
    Return Type Description:
    The position of the cell when cells are iterated row by row.

    Returns the position of the cell when cells are iterated row by row.

    • value
    • Type:object
  • properties

    .properties( value:object );
    Return Type:
    object
    Return Type Description:
    A key value map of the cell's properties.

    Returns a key value map of the cell's properties. Currently only 'Value' and 'FmtValue' properties are available.

    • value
    • Type:object

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