XML 42 R30.htm IDEA: XBRL DOCUMENT
v3.20.2

Leases (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2020
Leases [Abstract] |
Supplemental Cash Flow information and Supplemental balance sheet information related to operating leases to operating leases | The following table includes supplemental cash flow information for the nine months ended September 30, 2020 and September 30, 2019 and supplemental balance sheet information at September 30, 2020 and December 31, 2019 related to operating leases (in thousands):
|  | Nine Months Ended |
Supplemental cash flow information |  | September 30, 2020 |  |  | September 30, 2019 |
Cash paid for amounts included in the measurement of operating lease liabilities |  | $ | 6,506 |  |  | $ | 6,356 |
Operating ROU assets obtained in exchange for lease liabilities |  | $ | 2,254 |  |  | $ | 855 |
Supplemental balance sheet information |  | September 30, 2020 |  |  | December 31, 2019 |
Operating lease ROU assets |  | $ | 37,056 |  |  | $ | 40,049 |
Operating lease liabilities: |  |  |  |  |  |  |  |
Accrued expenses and other current liabilities |  | $ | 7,961 |  |  | $ | 7,079 |
Operating lease liabilities |  |  | 30,182 |  |  |  | 34,242 |
Total operating lease liabilities |  | $ | 38,143 |  |  | $ | 41,321 |
Maturities of operating lease liabilities | The following table summarizes maturities of operating lease liabilities at September 30, 2020 (in thousands):
Maturities of operating lease liabilities |  |  |
2020 |  | $ | 2,301 |
2021 |  |  | 9,024 |
2022 |  |  | 7,155 |
2023 |  |  | 6,553 |
2024 |  |  | 6,224 |
Thereafter |  |  | 11,078 |
Total lease payments |  |  | 42,335 |
Less imputed interest |  |  | (4,192 | )
Total operating lease liabilities |  | $ | 38,143 |

X
- Definition Table includes supplemental cash flow information and supplemental balance sheet information related to operating leases + References No definition available. + Details
Name: | trex_SupplementalFinancialInformationOfOperatingLeasesTableTextBlock
Namespace Prefix: | trex_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration