XML 90 R75.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Segment Information - Additional Information (Detail) $ in Thousands | 3 Months Ended | 7 Months Ended | 12 Months Ended
--- | --- | --- | ---
Dec. 31, 2017 USD ($) | Sep. 30, 2017 USD ($) | Jun. 30, 2017 USD ($) | Mar. 31, 2017 USD ($) | Dec. 31, 2016 USD ($) | Sep. 30, 2016 USD ($) | Jun. 30, 2016 USD ($) | Mar. 31, 2016 USD ($) | Jul. 31, 2017 Segment | Dec. 31, 2017 USD ($) Segment Retailer | Dec. 31, 2016 USD ($) | Dec. 31, 2015 USD ($)
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of reportable segment | Segment |  |  |  |  |  |  |  |  | 1 | 2 |  |
Number of national retailers | Retailer |  |  |  |  |  |  |  |  |  | 2 |  |
Net sales | $ 122,212 | $ 140,194 | $ 157,941 | $ 144,806 | $ 95,322 | $ 106,168 | $ 146,450 | $ 131,676 |  | $ 565,153 | $ 479,616 | $ 440,804
Residential [Member] |  |  |  |  |  |  |  |  |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Net sales |  |  |  |  |  |  |  |  |  | 543,300 | $ 479,600 | $ 440,800
Commercial [Member] |  |  |  |  |  |  |  |  |  |  |  |
Segment Reporting Information [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Net sales |  |  |  |  |  |  |  |  |  | $ 21,800 |  |

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 Total revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_SalesRevenueNet
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: |