Best way to add a sharepoint list to custom webpart?

Brass Contributor

I'm trying to add a SharePoint list into a webpart so I can use React to drag and drop the rows around. what's the best way? I've not used TypeScript before so it's confusing me.

1 Reply



You may want to use the UI Fabric React component: Details List, which you can configure to have the items be "draggable" out of the box. You'll need to write some code to get your list columns and items and load them into the Details List component. You don't necessarily need to use TypeScript, you can just use JavaScript if you want.