- You can open your site in SharePoint designer.
- Open AllItem.aspx page (if this is your default view) of your InfoPath Form form library.
- Switch to Design mode and Right click on list.
- Select "Convert XSLT data view".
- Now, you can make changes on controls available on *.aspx page.
- Select NEW menu and then move to Split view and you will see the XSLT code"
<SharePoint:NewMenu runat="server"></SharePoint:NewMenu>"
//Set the "td" visibility as "hidden":
<td class="ms-toolbar" nowrap="" style="visibility: hidden">
<SharePoint:NewMenu runat="server" ></SharePoint:NewMenu
</td>
<td class="ms-toolbar" style="visibility: hidden">|</td>
7. Save your page on Designer.
8. Refresh your page in Browser to see the change.
9. There is a limitation with this approach. Now, you cannot modify default view of this List on SharePoint.You can revert to list view web part by right clicking on dataview web part and selecting "Revert to SharePoint list view" and try other suggested options.
OR
To add new fields or update fields sequential orders, open the page in SharePoint designer and right click on dataview web part and select "Show Common Control Tasks". Now, select "Edit Columns..." option to add new fields.
Follow link over here, if you want to use JavaScript to hide menus.