From eca35189d7ce35bcd90a0072db0e491fa987d7dc Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Tue, 4 Dec 2018 12:03:33 +0300 Subject: [PATCH] Fixed #656 - DataTable resize: disable rightmost border --- src/components/datatable/DataTable.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/datatable/DataTable.js b/src/components/datatable/DataTable.js index c8d24345d3..cb066dde56 100644 --- a/src/components/datatable/DataTable.js +++ b/src/components/datatable/DataTable.js @@ -964,7 +964,8 @@ export class DataTable extends Component { let value = this.processData(); let columns = this.getColumns(); let totalRecords = this.getTotalRecords(value); - let className = classNames('p-datatable p-component', {'p-datatable-responsive': this.props.responsive, 'p-datatable-resizable': this.props.resizableColumns, + let className = classNames('p-datatable p-component', {'p-datatable-responsive': this.props.responsive, + 'p-datatable-resizable': this.props.resizableColumns, 'p-datatable-resizable-fit': this.props.resizableColumns && this.props.columnResizeMode === 'fit', 'p-datatable-scrollable': this.props.scrollable, 'p-datatable-virtual-scrollable': this.props.virtualScroll, 'p-datatable-auto-layout': this.props.autoLayout, 'p-datatable-hoverable-rows': this.props.selectionMode}, this.props.className); let paginatorTop = this.props.paginator && this.props.paginatorPosition !== 'bottom' && this.createPaginator('top', totalRecords);