Ngx-datatable: Disabling draggable does not remove the css-class "draggable"

Created on 30 Sep 2016  路  5Comments  路  Source: swimlane/ngx-datatable

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior
Setting draggable to false does not remove the draggable class.

Expected behavior
Disabling draggable should remove the draggable class, otherwise the user might get the impression that it should drag, but something is not working.

Reproduction of the problem
Draggable-Elements receive a red background in this example.
https://plnkr.co/edit/k6Wly6fOdsR2e2UzfjW9?p=preview

What is the motivation / use case for changing the behavior?
The user might get the impression that it should drag, but something is not working.

Please tell us about your environment:
macOS Sierra

  • Table version: 0.7.4
  • Angular version: 2.0.1
  • Browser: all
  • Language: all
Bug Investigate

Most helpful comment

I add this configuration to the column and work for me using version 13.1.0
Column definition:
[draggable]="false"
Table definition:
[reorderable]="false"

All 5 comments

Is this still happening?

I'll check and get back to you

Resolved in latest.

I checked this with ngx-datatable v13.0.1. But still issue is there

I add this configuration to the column and work for me using version 13.1.0
Column definition:
[draggable]="false"
Table definition:
[reorderable]="false"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alceucardoso picture alceucardoso  路  3Comments

DethAriel picture DethAriel  路  3Comments

Matthi0uw picture Matthi0uw  路  3Comments

WA-WilliamKrieg picture WA-WilliamKrieg  路  3Comments

mmrath picture mmrath  路  3Comments