XML 18 R5.htm IDEA: XBRL DOCUMENT
v3.24.3

Consolidated Balance Sheets (Unaudited) (Parenthetical) - USD ($) $ in Thousands | Sep. 27, 2024 | Dec. 29, 2023
--- | --- | ---
Statement of Financial Position [Abstract] |  |
Allowance for Credits | $ 6,200 | $ 5,300

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