Skip to content

Commit

Permalink
refactor(model): remove exportWithFormatter from the GridOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed May 26, 2018
1 parent 895474a commit bd83f94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@ export interface GridOption {
/** Some default options to set for the export service */
exportOptions?: ExportOption;

/** @deprecated Defaults to false, which leads to all Formatters of the grid being evaluated on export. You can also override a column by changing the propery on the column itself */
exportWithFormatter?: boolean;

/** Defaults to 25, which is the grid footer row panel height */
footerRowHeight?: number;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export class ExportService {
}

// does the user want to evaluate current column Formatter?
const isEvaluatingFormatter = (columnDef.exportWithFormatter !== undefined) ? columnDef.exportWithFormatter : (this._exportOptions.exportWithFormatter || this._gridOptions.exportWithFormatter);
const isEvaluatingFormatter = (columnDef.exportWithFormatter !== undefined) ? columnDef.exportWithFormatter : this._exportOptions.exportWithFormatter;

let itemData = '';

Expand Down

0 comments on commit bd83f94

Please sign in to comment.