XML 17 R5.htm IDEA: XBRL DOCUMENT
v3.23.1

Consolidated Balance Sheets (Unaudited) (Parenthetical) - USD ($) $ in Millions | Mar. 31, 2023 | Dec. 30, 2022
--- | --- | ---
Statement of Financial Position [Abstract] |  |
Allowance for Credits | $ 5.6 | $ 7.0

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