クラス IgxExcelExporterOptions

このクラスのオブジェクトは Excel エクスポート処理で使用されます。

階層

コンストラクタ

constructor

プロパティ

exportAsTable

exportAsTable: boolean = true

エクスポートするデータを Excel テーブルとして書式設定するかどうかを指定します (デフォルトで True)。

let exportAsTable = this.exportOptions.exportAsTable;
this.exportOptions.exportAsTable = false;
次のメンバー:

IgxExcelExporterOptions

ignoreColumnsOrder

ignoreColumnsOrder: boolean = false

エクスポーターが IgxGrid の列順序を無視するかどうかを指定します。

let ignoreColumnsOrder = this.exportOptions.ignoreColumnsOrder;
this.exportOptions.ignoreColumnsOrder = true;
次のメンバー:

IgxExporterOptionsBase

ignoreColumnsVisibility

ignoreColumnsVisibility: boolean = false

非表示列をエクスポートするかどうかを指定します。

let ignoreColumnsVisibility = this.exportOptions.ignoreColumnsVisibility;
this.exportOptions.ignoreColumnsVisibility = true;
次のメンバー:

IgxExporterOptionsBase

ignoreFiltering

ignoreFiltering: boolean = false

フィルター アウトされた行をエクスポートするかどうかを指定します。

let ignoreFiltering = this.exportOptions.ignoreFiltering;
this.exportOptions.ignoreFiltering = true;
次のメンバー:

IgxExporterOptionsBase

ignorePinning

ignorePinning: boolean = false

列固定が無視されるかどうかを指定します。ignoreColumnsOrder を true に設定した場合、このオプションは常に true に設定されているとみなされます。

let ignorePinning = this.exportOptions.ignorePinning;
this.exportOptions.ignorePinning = true;
次のメンバー:

IgxExcelExporterOptions

ignoreSorting

ignoreSorting: boolean = false

エクスポートしたデータを IgxGrid のように並べ替えるかどうかを指定します。

let ignoreSorting = this.exportOptions.ignoreSorting;
this.exportOptions.ignoreSorting = true;
次のメンバー:

IgxExporterOptionsBase

アクセサー

columnWidth

  • get columnWidth(): number
  • set columnWidth(value: number): void
  • エクスポートする Excel ファイルの列幅を取得します。

    let width = this.exportOptions.columnWidth;
    次のメンバー:

    IgxExcelExporterOptions

    返却 number

  • エクスポートする Excel ファイルの列幅を設定します。 指定なしまたは 0 の場合、列の最大文字列の幅が使用されます。

    this.exportOptions.columnWidth = 55;
    次のメンバー:

    IgxExcelExporterOptions

    パラメーター

    • value: number

    返却 void

fileName

  • get fileName(): string
  • set fileName(value: string): void

rowHeight

  • get rowHeight(): number
  • set rowHeight(value: number): void
  • エクスポートされた Excel ファイルの行の高さを取得します。

    let height = this.exportOptions.rowHeight;
    次のメンバー:

    IgxExcelExporterOptions

    返却 number

  • エクスポートされた Excel ファイルの行の高さを設定します。指定なしまたは 0 の場合、Excel 行のデフォルトの高さが使用されます。

    this.exportOptions.rowHeight = 25;
    次のメンバー:

    IgxExcelExporterOptions

    パラメーター

    • value: number

    返却 void