Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm looking for a solution that displays the number of items that are stored in a folder of a list. Maybe this can be done with javascript/jquery, but I actually don't want to reinvent the wheel. If anyone has seen such a solution, I would very much appreciate any hints :) Thanks in advance Tobi

share|improve this question
add comment

3 Answers

First check out this link to learn how to turn on metadata for Folders:

http://sharepoint-guru.blogspot.com/2007/06/adding-metadata-to-folder.html

Second check out this link for adding the ItemChildCount to your folder:

http://weblogs.asp.net/sharadkumar/archive/2008/06/27/showing-child-items-in-hierarchical-sharepoint-lists-with-multiple-content-types.aspx

For a Javascript variation check out this cool link on how to write HTML in a calculated column (which includes some Javascript.) It's not the full answer but I think you will get what you want out of the first two links:

h____ttp://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/

share|improve this answer
    
Did this answer the question for you? –  Wartickler Apr 4 '13 at 15:15
add comment

Have you tried out setting the Totals property in the View settings? I believe you can set the Totals to count the number os Title in the list. This sould be applicable on folders as well...

share|improve this answer
    
yes this gives me a count on the current items in the list. But it does not fit my requirements. Imagine a list with items and folders in it. And next to every folder icon there should be the number of items inside the folder. -foldername (3) -foldername2 (5) -item ... this won't work with the described count property :( thanks anyway for your reply :) –  Tobi Oct 11 '10 at 7:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.