SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In SharePoint 2007 I run some code after a grouping is expanded by overriding the ExpGroupRenderData (the custom code contained Microsoft's original code with some added extra bits).

When this code runs, the data was loaded and therefore targeting the listview using the DOM and traversing over rows to set colours etc wasn't an issue!

We upgraded to 2010 and it appears this has now broken for the group being expanded. The ExpGroupRenderData function is not used to render the loaded data, it is only used to render the loading message.

Question is: is there an alternative in respect of firing some code when the data is loaded and the html has been updated with such.

Note: We CAN't modify the web part using SP Designer, and we are not using jquery (yet).



For the time being I have a solution albeit a not ideal one! I'v removed the expand-on-load behaviour. and have introduced a delay in the ExpGroupRenderData before colouring the cells (enough for the data to load and appear). As I say not ideal but following an upgrade need a tick in the box so I can move onto the next thing :)

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.