diff --git a/src/components/datagrid/body/data_grid_cell.tsx b/src/components/datagrid/body/data_grid_cell.tsx index c064f1a73f04..0021a8cfc2ff 100644 --- a/src/components/datagrid/body/data_grid_cell.tsx +++ b/src/components/datagrid/body/data_grid_cell.tsx @@ -430,7 +430,7 @@ export class EuiDataGridCell extends Component< this.contentObserver.disconnect(); } this.preventTabbing(); - this.getCellTextAlign(); + this.setCellTextAlign(); }; onFocus = (e: FocusEvent) => { @@ -489,7 +489,7 @@ export class EuiDataGridCell extends Component< } }; - getCellTextAlign = () => { + setCellTextAlign = () => { if (this.cellContentsRef) { const { columnType } = this.props; if (!columnType) {