Skip to content

Commit

Permalink
Fixed #656 - DataTable resize: disable rightmost border
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Dec 4, 2018
1 parent f4b4326 commit eca3518
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/datatable/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit eca3518

Please sign in to comment.