Expands or collapses rows according to a condition.
public void ExpandCollapseRecursive(Func<TModel, bool> predicate)
A function which is passed a model instance and returns a boolean value representing the desired expanded state of the row.