ig.Dimension

ig.Dimension_image
キューブ内のディメンションを表します。

コード サンプル

<!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) {
                // get given dimension by its unique name
                var dDate = dataSource.getDimension("[Date]");
            });
        });
    </script>
</head>
<body>
</body>
</html>
    

関連トピック

依存関係

jquery-1.9.1.js
infragistics.util.js
このコントロールにオプションはありません。
このコントロールにイベントはありません。
  • caption

    .caption( value:object );
    返却型:
    string
    返却型の説明:
    次元のキャプション。

    ユーザーにディメンションの名前を表示する際に使用されるキューブのキャプションを返します。

    • value
    • タイプ:object
  • description

    .description( value:object );
    返却型:
    string

    ディメンションのユーザー フレンドリな説明を返します。

    • value
    • タイプ:object
  • dimensionType

    .dimensionType( value:object );
    返却型:
    number
    返却型の説明:
    $.ig.DimensionType 列挙体の値。

    値が $.ig.DimensionType 列挙型のディメンション タイプを返します。

    $.ig.DimensionType.prototype.unknown = 0;
    $.ig.DimensionType.prototype.time = 1;
    $.ig.DimensionType.prototype.measure = 2;
    $.ig.DimensionType.prototype.other = 3;
    $.ig.DimensionType.prototype.quantitative = 5;
    $.ig.DimensionType.prototype.accounts = 6;
    $.ig.DimensionType.prototype.customers = 7;
    $.ig.DimensionType.prototype.products = 8;
    $.ig.DimensionType.prototype.scenario = 9;
    $.ig.DimensionType.prototype.utility = 10;
    $.ig.DimensionType.prototype.currency = 11;
    $.ig.DimensionType.prototype.rates = 12;
    $.ig.DimensionType.prototype.channel = 13;
    $.ig.DimensionType.prototype.promotion = 14;
    $.ig.DimensionType.prototype.organization = 15;
    $.ig.DimensionType.prototype.billOfMaterials = 16;
    $.ig.DimensionType.prototype.geography = 17;.

    • value
    • タイプ:object
  • name

    .name( value:object );
    返却型:
    string

    ディメンションの名前を返します。

    • value
    • タイプ:object
  • uniqueName

    .uniqueName( value:object );
    返却型:
    string
    返却型の説明:
    次元の一意の名前。

    ディメンションの一意の名前を返します。

    • value
    • タイプ:object

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