Group By on a DataSheetView
-
09-12-2019 - |
Question
I have a DataSheet view on my library of infopath forms. the forms are basically weekly status reports and what i want to do is total the hours from each report for the month and show a totals row. I assume this could be done with a group by field, but there is no option to group by with a datasheet view. Does anyone have a way around this?
Solution
I do not think it is possible to have the "spreadsheet" quality of a DataSheet View and use Group By, even using SharePoint Designer or jQuery. The closest functionality would be to use a regular view with grouping and allow inline editing (which is an option in the View Setting page). This will allow someone to edit one line at a time, but not perform group edits.
If group editing and Group By is needed (such as to allow copy / paste from a spreadsheet) then I use this 2007 Excel add-in that allows syncing between an Excel Sheet and a SharePoint list and perform the edits in Excel. The add-in works with 2010 also.
http://www.microsoft.com/en-us/download/details.aspx?id=9345