XML 67 R74.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Segment Information - Additional Information (Detail) $ in Thousands | 3 Months Ended | 7 Months Ended | 12 Months Ended
--- | --- | --- | ---
Dec. 31, 2019 USD ($) | Sep. 30, 2019 USD ($) | Jun. 30, 2019 USD ($) | Mar. 31, 2019 USD ($) | Dec. 31, 2018 USD ($) | Sep. 30, 2018 USD ($) | Jun. 30, 2018 USD ($) | Mar. 31, 2018 USD ($) | Jul. 31, 2017 Segment | Dec. 31, 2019 USD ($) Retailer Segment | Dec. 31, 2018 USD ($) | Dec. 31, 2017 USD ($)
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of reportable segment | Segment |  |  |  |  |  |  |  |  | 1 | 2 |  |
Net sales | $ 164,772 | $ 194,551 | $ 206,453 | $ 179,571 | $ 139,971 | $ 166,380 | $ 206,692 | $ 171,207 |  | $ 745,347 | $ 684,250 | $ 565,153
Number of national retailers | Retailer |  |  |  |  |  |  |  |  |  | 2 |  |
Residential [Member] |  |  |  |  |  |  |  |  |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Net sales |  |  |  |  |  |  |  |  |  | $ 694,267 | 613,229 | 543,346
Commercial [Member] |  |  |  |  |  |  |  |  |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Net sales |  |  |  |  |  |  |  |  |  | $ 51,080 | $ 71,021 | $ 21,807

X
- Definition Number of national sales retailers. + References No definition available. + Details
Name: | trex_NumberOfSalesRetailers
Namespace Prefix: | trex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References No definition available. + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118956577&loc=SL49130543-203045 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=118956577&loc=SL49130545-203045 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_SegmentReportingInformationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |