SMART datagrid v.1 > Classes > GridExportOptions

Back  Forward

DataLudi.GridExportOptions.indicatorValue  property

Grid Row Indicator cell exporting setting. You can specify as one of below three values. 

Table-1
ValueExplanation
"default"Follow the setting of Grid Row Indicator. Export as the value set in RowIndicator.displayValue.
"rowIndex"Export to grid row number.
"dataIndex"Export to data index of grid row.

Defaults to "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
Excel Exporting