added the Grand total and collapsible row