swimlane / ngx-datatable

✨ A feature-rich yet lightweight data-table crafted for Angular
http://swimlane.github.io/ngx-datatable/
MIT License
4.62k stars 1.68k forks source link

Column should not reordable or switch position with other column #1402

Open AnkitSData opened 6 years ago

AnkitSData commented 6 years ago

Hello,

I am using ngx datatable with Angular 5 and typescript, I do not want to switch position of columns with each other i.e they should not be reordable or draggable their position should be fixed.

Please update how can I acheive this ?

Currently I tried , <ngx-datatable-column name="Full Name" [sortable]="false" [draggable]="false"> which is not working?

stewx commented 6 years ago

Are you aware there is also a setting on the table itself called reorderable? https://swimlane.gitbook.io/ngx-datatable/api/table/inputs#reorderable