Current behavior
If the table contains only one column - it cannot be resizable in standard mode
<ngx-datatable [columnMode]="ColumnMode.standard"> <ngx-datatable-column name="Column1" [width]="100"></ngx-datatable-column> </ngx-datatable>
But, it works fine for 2 and more columns
<ngx-datatable [columnMode]="ColumnMode.standard"> <ngx-datatable-column name="Column1" [width]="100"></ngx-datatable-column> <ngx-datatable-column name="Column2" [width]="100"></ngx-datatable-column> </ngx-datatable>
Expected behavior
Columns resizing works properly for one and more columns
Currently
I'm submitting a ...
Current behavior If the table contains only one column - it cannot be resizable in
standard
mode<ngx-datatable [columnMode]="ColumnMode.standard"> <ngx-datatable-column name="Column1" [width]="100"></ngx-datatable-column> </ngx-datatable>
But, it works fine for 2 and more columns
<ngx-datatable [columnMode]="ColumnMode.standard"> <ngx-datatable-column name="Column1" [width]="100"></ngx-datatable-column> <ngx-datatable-column name="Column2" [width]="100"></ngx-datatable-column> </ngx-datatable>
Expected behavior
Columns resizing works properly for one and more columns
Please tell us about your environment:
node v14.17.1 npm v6.14.13
Table version: "@swimlane/ngx-datatable": "^19.0.0"
Angular version: "@angular/core": "~12.1.1",
Browser: Chrome Version 91.0.4472.124 (Official Build) (64-bit)
Language: "typescript": "~4.3.2"