Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column Drag not working #2020

Open
Hugofv opened this issue Aug 25, 2023 · 3 comments
Open

Column Drag not working #2020

Hugofv opened this issue Aug 25, 2023 · 3 comments

Comments

@Hugofv
Copy link

Hugofv commented Aug 25, 2023

Column Drag not working

Expected Behavior

All collumn drag order working well

Current Behavior

My table have around 20 column and just 5 first column the drag to change order of column are working, I think that it's because of the scroll just the column that are in view port the first render are working

Steps to Reproduce (for bugs)

  1. Put more than 10 column
  2. The column that are in the middle the end the drag to change order doesn't working

Configuration

const tableOptions = { enableNestedDataAccess: '.', responsive: 'vertical', selectableRows: 'multiple', selectToolbarPlacement: 'none', selectableRowsOnClick: true, download: true, print: false, filter: false, search: false, viewColumns: false, draggableColumns: { enabled: true, transitionTime: 300, }, downloadOptions: { separator: ';', filename: 'Consulta Avançada.csv', filterOptions: { useDisplayedColumnsOnly: true, useDisplayedRowsOnly: true, }, }, }

Tech Version
Material-UI 4.11.4
MUI-datatables 3.8.5
React 16.9.0
browser Chrome
etc
@Hugofv
Copy link
Author

Hugofv commented Aug 25, 2023

I found one problem, when the propert selectableRows is 'multiple' the drag of column doesn't working, That work well when the value is none

@dinhthi147
Copy link

Hi, I have this issue in my app recently when I use selectableRows = multiple and draggableColumns = true. @Hugofv did you find a way to work around ?

@cristiandaulisio
Copy link

i have the same problem. Any fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants