XML 62 R49.htm IDEA: XBRL DOCUMENT
v3.21.1

Debt (Details) - Committed Facility [Member] $ in Millions | 3 Months Ended
--- | ---
Mar. 26, 2021 USD ($)
Debt Disclosure [Abstract] |
Line of Credit Facility, Maximum Borrowing Capacity | $ 500
Debt Instrument [Line Items] |
Line of Credit Facility, Maximum Borrowing Capacity | 500
Line of Credit Facility, Capacity Available for Specific Purpose Other than for Trade Purchases | 200
Revolving Credit Facility |
Debt Instrument [Line Items] |
Line of Credit Facility, Current Borrowing Capacity | $ 250
Line of Credit | Fed Funds Effective Rate Overnight Index Swap Rate |
Debt Disclosure [Abstract] |
Debt Instrument, Basis Spread on Variable Rate | 0.50%
Debt Instrument [Line Items] |
Debt Instrument, Basis Spread on Variable Rate | 0.50%
Line of Credit | London Interbank Offered Rate (LIBOR) |
Debt Disclosure [Abstract] |
Debt Instrument, Basis Spread on Variable Rate | 1.50%
Debt Instrument [Line Items] |
Debt Instrument, Basis Spread on Variable Rate | 1.50%
Line of Credit | Minimum | Revolving Credit Facility |
Debt Disclosure [Abstract] |
Debt Instrument, Basis Spread on Variable Rate | 0.00%
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | 0.125%
Debt Instrument [Line Items] |
Debt Instrument, Basis Spread on Variable Rate | 0.00%
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | 0.125%
Line of Credit | Minimum | Revolving Credit Facility | Cash flow leverage ratio no acquisition |
Debt Instrument [Line Items] |
Debt Instrument, Covenant Compliance | 1.00
Line of Credit | Minimum | Revolving Credit Facility | Cash flow leverage ratio with acquisitions |
Debt Instrument [Line Items] |
Debt Instrument, Covenant Compliance | 1.00
Line of Credit | Minimum | Revolving Credit Facility | Interest coverage ratio no acquisitions |
Debt Instrument [Line Items] |
Debt Instrument, Covenant Compliance | 1.00
Line of Credit | Minimum | Revolving Credit Facility | Interest coverage ratio with acquisitions |
Debt Instrument [Line Items] |
Debt Instrument, Covenant Compliance | 1.00
Line of Credit | Minimum | Revolving Credit Facility | London Interbank Offered Rate (LIBOR) |
Debt Disclosure [Abstract] |
Debt Instrument, Basis Spread on Variable Rate | 1.00%
Debt Instrument [Line Items] |
Debt Instrument, Basis Spread on Variable Rate | 1.00%
Line of Credit | Maximum | Revolving Credit Facility |
Debt Disclosure [Abstract] |
Debt Instrument, Basis Spread on Variable Rate | 0.75%
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | 0.25%
Debt Instrument [Line Items] |
Debt Instrument, Basis Spread on Variable Rate | 0.75%
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | 0.25%
Line of Credit | Maximum | Revolving Credit Facility | Cash flow leverage ratio no acquisition |
Debt Instrument [Line Items] |
Debt Instrument, Covenant Compliance | 3.50
Line of Credit | Maximum | Revolving Credit Facility | Cash flow leverage ratio with acquisitions |
Debt Instrument [Line Items] |
Debt Instrument, Covenant Compliance | 4.00
Line of Credit | Maximum | Revolving Credit Facility | Interest coverage ratio no acquisitions |
Debt Instrument [Line Items] |
Debt Instrument, Covenant Compliance | 3.00
Line of Credit | Maximum | Revolving Credit Facility | Interest coverage ratio with acquisitions |
Debt Instrument [Line Items] |
Debt Instrument, Covenant Compliance | 2.50
Line of Credit | Maximum | Revolving Credit Facility | London Interbank Offered Rate (LIBOR) |
Debt Disclosure [Abstract] |
Debt Instrument, Basis Spread on Variable Rate | 1.75%
Debt Instrument [Line Items] |
Debt Instrument, Basis Spread on Variable Rate | 1.75%

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition States whether the entity was in compliance with the debt covenants throughout the reporting period, and describes facts and circumstances of any compliance failure. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentCovenantCompliance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum amount of borrowing capacity under a line of credit that is available as of the balance sheet date for a specific purpose other than for financing goods acquired for inventory or imminent delivery to a customer. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ggg_CommittedFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_CashFlowLeverageRatioNoAcquisitionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_CashFlowLeverageRatioWithAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_InterestCoverageRatioNoAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ggg_CovenantRatioAxis=ggg_InterestCoverageRatioWithAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |