SMART datagrid v.1 > Classes > GridExportOptions

Back  Forward

DataLudi.GridExportOptions.indicatorValue  property

グリッドRow Indicatorセルのエクスポート設定。 下の三つの値の中で一つで指定する。 

Table-1
説明
"default"グリッドRow Indicatorの設定に従う。RowIndicator.displayValueに設定された値でエクスポートする。
"rowIndex"グリッド行の番号でエクスポートする。
"dataIndex"グリッド行のデータインデックスでエクスポートする。

デフォルト値は"default".

Getter
function indicatorValue(): String
Setter
function setIndicatorValue(value: String)
Code -1
    $('#export').click(function () {
        DataLudi.exportToExcel(grdMain, {
            taregt:  "local",
            fileName: "dlgrid.xlsx",
            indicatorValue: "rowIndex"
        });
    });
See Also
header
footer
rowIndicator
GridExcelExporter
GridBase.rowIndicator
RowIndicator
exportToExcel
Examples
エクセルでエクスポートする