function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
smriti sharan19smriti sharan19 

drag and drop column in lightning

Hi,
I have seen multiple links to drag and drop rows in lightning but can we do drag and drop columns in lightning

Example1 of drag and drop rows : https://developer.salesforce.com/forums/?id=9060G0000005OcPQAU

Example2 of drag and drop of rows: https://gist.github.com/brianmfear/fb13ac4781c79fad6495ef7dc1676f4f

Example of drag and drop column and rows but this is not using lightning: https://sindu12jun.github.io/table-dragger/

Has anyone worked on drag and drop of columns in lightning. If yes please share the code.
NagendraNagendra (Salesforce Developers) 
Hi Smriti,

Sorry for this issue you are facing.

Unfortunately, drag and drop of columns in not possible as of now. There is an active idea on the success community for which you can upvote so that it gets available in the mere future. Also, I would suggest you please refer to the below link which does the same using JQuery. Note: You can refer to New in Version 3.6 for drag and drop.

Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra