XML 18 R5.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Consolidated Balance Sheets (Unaudited) (Parenthetical) - USD ($) $ in Millions | Mar. 29, 2024 | Dec. 29, 2023
--- | --- | ---
Statement of Financial Position [Abstract] |  |
Allowance for Credits | $ 6.1 | $ 5.3

X
- Definition Allowance for Credits: Includes allowance for doubtful accounts and other credits against receivables. + References No definition available. + Details
Name: | ggg_AllowanceforCredits
Namespace Prefix: | ggg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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