onRenderFooter not working?
I can't get the IGroupRenderProps interface member "onRenderFooter" to work. It also doesn't seem to be working on the Office UI Fabric site in the GroupedList example: https://dev.office.com/fabric#/components/groupedlist
Can anyone else see the footer? I'm just seeing the header.

One thing that confuses me is that in the example code it's referenced as IGroupDividerProps whereas the implementation documentation lists onRenderFooter under the IGroupRenderProps interface.
The problem is that isFooterVisible never appears to get set to true. There's a TON of conditions that currently have to be met for the value to return true.
let isFooterVisible = group && !group.children && !group.isCollapsed && !group.isShowingAll &&
(group.count > renderCount || group.hasMoreData);
Not sure the logic that went into these conditions. Hide footer if group.children? Also, renderCount is currently being evaluated at infinity, so that one kills it too.
Seems these changes were put in by @zhenguang66 6 months ago. I wonder if they knows the logic that went into that.
I've got a feeling that the footer is only supposed to show up in really specific circumstances, as the default footer content is <Link onClick={ this._onSummarizeClick }>{ showAllLinkText }</Link>
So I guess the question is, do we want a way to force a footer? We could always render a footer if it is supplied, but that might be too much as you might only want to replace that "showAllLinkText" scenario. So it might require either a different render function, or another prop to force the footer to render.
I didn't go through the code prior to evaluating use of the custom footer. The custom header renders as expected and I would expect the footer to do the same. After having verified your findings I can see that the default footer would render a "Show all" text if required (based on all the checks you mention) and it may not be desirable to replace that footer as it fills a particular function. Then again, so does the header (i.e. it allows to collapse/expand and select all children). The problem with replacing the default footer would be that you rarely get to see what you're replacing so you may end up with a grouped list not rendering all items and you don't know how to render them all as you don't realize your custom footer essentially replaces the "show all" link. But this could be clarified in the documentation. So, based on above my recommendation would be to replace the footer and render it always without any other conditions than the onRenderFooter being overridden and then update the documentation clarifying what is being overriden. E.g.: "Override which allows the caller to provide a custom footer. The default footer is a Show All link only displayed when certain conditions are met."
I managed to get the custom footer to render by manually setting the necessary properties:
hasMoreData: true,
isCollapsed: false,
isShowingAll: false,
children: false
As mentioned I would expect the footer to render under similar conditions as the header so I don't think the !group.children condition is relevant. Why should we not display a footer if there are child elements to the group?
But I'm rethinking the approach and reverting to my initial statement that I would expect the custom footer to render under similar conditions as the header, i.e. if onRenderFooter is overriden then render it.
If the devs want to implement any logic for exceptions they can do that themselves in the onRenderFooter override.
On that same note I believe the current footer should not be classified as a footer but rather as what it's currently used for, i.e. a "Show all" link.
That would mean the current GroupFooter.tsx file should probably be something like GroupShowAll.tsx and the GroupFooter.tsx should focus on rendering the custom footer if provided.
What's your view on that @micahgodbolt?
I like the idea of changing the internal name to onRenderShowAll, seeing as the logic and current rendering are doing exactly that. If we allow it to be overwritten I would leave the logic where it is at. The user of onRenderShowAll shouldn't need to supply the logic for the a show all link is displayed.
onRenderFooter SHOULD always be displayed when provided (just like header). It'll have the necessary props passed in to support any conditional rendering.
@thomas-bak is this work you'd be willing to tackle?
I'm a complete novice to github contributions and quite new to react (SP/.Net dev) but if I can get a few pointers I could give it a go. Most important would probably be a code review. Would you conduct that? Can I request it prior to commit?
Oh yeah. I'd be happy to review or give you any help you might need. I'd be happy to take a look at the branch before submitting a PR. Just fork this repo and clone that fork. Once you're in there check out the ghdocs folder for setup and best practices.
I think I managed to get through it. I submitted a PR, forgot that you should have looked at it first. Let me know if we continue with the PR or I should try and revert it.