Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I created a document library in SharePoint 2010 and created many files and folders. In the default view (All Documents) the folders display first, followed by files (just as Windows Explorer does).

Then I disabled "new folder" command in library properties by setting Make "New Folder" command available? = No. After that folders are now mixed with files in all views for this document library.

I tested it on various libraries and it always shows this strange behavior. How do I make folders always displays before files?

share|improve this question

1 Answer

You should be able to set the display order in the View settings. Sort first on Content Type (Z to A) then on Title (A to Z). Sorting on content type z to a will force the Folder content types to be listed at the top and the documents to be listed below them getting the back to what you were seeing previously.

share|improve this answer
This solution is not suitable, because when you open this view and select a different sort order, for example, by modified date files and folders will again mixed. And if command "New Folder" is active, the folders are always displayed before files – JIemON Jun 22 '11 at 3:48

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.