Please follow this article if you would like the ability to create the "Sync" to One Drive button that exists in the SharePoint out of the box library toolbar.
1. Switch to Advanced mode in the Data View Plus tool set.
2. Select the gear icon within the Menu bar control.
3. In the Top Bar action, add the following Knockout data-bind code which will add the Sync to
OneDrive button on the top menu bar. You can also choose a different icon for your Sync to
OneDrive within the button icon picker.
odopen://sync/?siteId=SiteID_HERE&webId=WebID_HERE&listId=ListID_HERE&userEmail=UserEmail_HERE&webUrl=WebURL_HERE
*Please keep in mind that you’re required to know the Site ID, Web ID, List ID, and UPN\email
of the current user.
4. You can see below that the Sync to OneDrive button is not showing in Top bar menu.