ant-design-blazor
ant-design-blazor copied to clipboard
Table - let user change order of columns using drag and drop
Is your feature request related to a problem?
I would like to let user to change order of columns using drag and drop.
Describe the solution you'd like
Ideal solution would be, that user starts dragging by clicking into column header and drops this column somewhere between other columns.
Alternative solution for me now is to have definition of columns order elsewhere. Let user define columns order there and then use this settings to update columns in the table.
Additional context
I have views with a lot of columns in database and I would like to let user to choose, which he would like to see in the table. I also work on AntTable-OData adapter, which I use to solve filtering, ordering, pagination and selecting columns on server side. AntTable QueryModel is translated into OData query and result is rendered into table.
Thanks for contacting us @Martin-Pucalka .
This is a great feature, would you be interested in helping to implement it?
And column resizing together great future.
Column resizing would be great to have!
Hello @vadimffe , could you please to help us implement that?
Implementing column drag-and-drop functionality or the ability to change the column order would also be a nice feature to have.
Hi @aathirakhusi , now you can try to use foreach loop to render the columns.