Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

SPD Data View Webpart - Collapse group by default not working!

  Asked By: Helen Ramsey         Date: Jan 03, 2010      Category: Sharepoint      Views: 873
 

I have an SPD data view webpart that I want to group on a certain field. When I
select "collapse group by default" the webpart opens with the groups expanded.
The plus minus icon next to the field value is a plus. So I click the plus, and
it turns to a minus but nothing happens since the groups are already expanded.
Then clicking the minus icon causes the group to collapse. Is there some parent
control that I need to set? What am I missing?

Tagged:                    

 

4 Answers Found

 
Answer #1       Answered By: Edgardo Atkins          Answered On: Jan 03, 2010       

Are you sure you checked the collapse group by default on all the fields you
are grouping on in SPD? As I remember this needs to be set separately on
each field added to the GroupBy list.

 
Answer #2       Answered By: Kamal Mayachari          Answered On: Jan 03, 2010       

I am only grouping on one field, but I did have another field that I was
grouping on, and I removed that one. Could it be some lingering code that SPD
didn't clean up?

 
Answer #3       Answered By: Kelsie Terrell          Answered On: Jan 03, 2010       

Possibly. I normally find it best to remove all the groupings and sortings to
change things around.

 
Answer #4       Answered By: Alexia Mccarty          Answered On: Jan 03, 2010       

It must have been a conflicting setting with another column or something. I
created a new DVWP and put everything and it's good to go now!

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].