Tagged Questions
4
votes
3answers
2k views
How to get SP.Folder for SP.ListItem in SharePoint 2010 JavaScript Client Object Model?
I have a custom button on ribbon for document library and need to disable it if current SPListItem is an empty folder.
To disable button I use EnabledScript attribute of CommandUIHandler. I can get ...
0
votes
3answers
2k views
Show number of items in Folder in ListView
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 ...