Sets whether or not grouping is enabled for this system.
        
        :param      state | <bool>

def setGroupingActive(self, state, autoRefresh=False):
        """
        Sets whether or not grouping is enabled for this system.
        
        :param      state | <bool>
        """
        self._groupingActive = state
        
        self.setRootIsDecorated(state)
        
        if autoRefresh:
            self.refresh()