I have created a document library, added columns delete default columns from view and added newly created columns to view programmatically.
I also create 2 folders inside that library. Again 2 folders inside that folder so my doc lib hierarchy is like as follows:
-Sub Folder 2
When i am root level in doc lib it shows me all columns and its fine for me. But when i go further down to subfolders it shows that columns as blank. Instead i want to show only subfolders inside rather than showing all columns down to hierarchy. So i want all columns at root level and only subfolders at subfolders level.
Please tell me how could i do this programmatically.