Janis Veinbergs
Janis Veinbergs

Reputation: 6988

Modify sharepoint view to group recursively (subgroup)

When creating a view and setting group by value some field, it groups only 1 level deep, like this

A
--A.1
--A.2
A.2
--A.2.1
--A.2.2
B
--B.1

However i would like to group it to make a tree, a hierarchy.

A
--A.1
--A.2
----A.2.1
----A.2.2
B
--B.1

A flawless solution would be if i could just make my custom views to view a recursively grouped items.

Any ideas how to achieve that?

It should look something like this:

alt text http://img6.imageshack.us/img6/1958/ss20090703135209.png

Upvotes: 1

Views: 1092

Answers (2)

Nat
Nat

Reputation: 14295

You will need to get the data from maybe a content query web part and format it with your own XSLT.

XSL is not the easist to do this with as it has no "stack" structure for easily nesting a linear list.

Upvotes: 0

Colin
Colin

Reputation: 10638

You would need to build your own ListView Webpart. However, there is already a third party product that does this, the Bamboo Solutions tree View WebPart

Upvotes: 2

Related Questions