devextreme-reactive icon indicating copy to clipboard operation
devextreme-reactive copied to clipboard

Auto scroll when dragging column

Open chr22 opened this issue 5 years ago • 5 comments

I'm using ...

  • [x] React Grid
  • [ ] React Chart
  • [ ] React Scheduler

Description

It is pretty hard to reorder columns if the table has horizontal scroll. It would be a lot easier if the table scrolled to the side when you dragged the column to the edge of the table.

chr22 avatar Oct 08 '19 12:10 chr22

@chr22,

Thank you for the idea, we'll consider implementing it in our future releases.

MaximKudriavtsev avatar Oct 09 '19 10:10 MaximKudriavtsev

Is there anything I can do to help this ticket along? I'm not particularly familiar with the library but I could attempt the ticket with a mentor/some guidance! Not sure if the work goes here or elsewhere. Also not sure if there are tricky interactions/UX considerations with the fixed columns plugin.

mlodato517 avatar Jul 06 '20 14:07 mlodato517

Hi @mlodato517,

Yes, you can. We have a guide about our plugin system and a guide about creating a custom grid plugin. All sources are open and you can try to implement it yourself. We will be happy to review your feature PR with the feature, tests, and documentation.

MaximKudriavtsev avatar Jul 09 '20 11:07 MaximKudriavtsev

Oh does that mean this is going to be a new plugin? I assuming this would be an update to the existing TableColumnReordering plugin 🤔

mlodato517 avatar Jul 09 '20 12:07 mlodato517

@mlodato517,

This feature will not require adding extra plugins. I gave you these guides as you may find them helpful. Please also note that this feature should work well both with the standard and virtual scrolling.

MaximKudriavtsev avatar Jul 09 '20 13:07 MaximKudriavtsev