ig.OlapTableViewResultCell

データ セルのコンテンツおよび $.ig.Cell オブジェクトに関連する方法についての情報を提供します。
コード サンプル
<!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 viewSettings = { isParentInFrontForColumns: true , isParentInFrontForRows: true , compactRowHeaders: true , compactColumnHeaders: false }; var hasColumns = dataSource.columnAxis().length > 0; var hasRows = dataSource.rowAxis().length > 0; // create and initialize the table view var tableView = new $.ig.OlapTableView(result, hasColumns, hasRows, viewSettings); tableView.initialize(); // obtain layout information about result's row and column headers and its data cells var columnHeaders = this ._tableView.columnHeaders(); var rowHeaders = this ._tableView.rowHeaders(); var resultCells = tableView.resultCells(); }); }); </script> </head> <body> </body> </html> |
関連トピック
依存関係
jquery-1.9.1.js
infragistics.util.js
このコントロールにオプションはありません。
このコントロールにイベントはありません。
-
cellOrdinal
- .cellOrdinal( );
- 返却型:
- number
- 返却型の説明:
- セルのインデックス。
データ セルのグリッドに配置を決定するために使用されるこのセルのインデックスを返します。
-
formattedValue
- .formattedValue( );
- 返却型:
- string
- 返却型の説明:
- データ セルに表示される書式設定付きの値。
データ セルに表示される書式設定付きの値を返します。
-
resultCellIndex
- .resultCellIndex( );
- 返却型:
- number
- 返却型の説明:
- この結果セルが関連付ける $.ig.Cell オブジェクトのインデックス。
$.ig.OlapResult オブジェクトの $.ig.Cell オブジェクトのインデックスを返します。
-
value
- .value( );
- 返却型:
- object
- 返却型の説明:
- データ セルの値。
$.ig.Cell オブジェクトによって提供される値を返します。