XML 44 R30.htm IDEA: XBRL DOCUMENT
v3.19.2

Leases (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2019
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 six months ended June 30, 2019 and supplemental balance sheet information at June 30, 2019 related to operating leases (in thousands):
Supplemental cash flow information (in thousands) |  |  |
Cash paid for amounts included in the measurement of operating lease liabilities |  | $ | 4,242 |
Operating ROU assets obtained in exchange for lease liabilities |  | $ | 388 |
Supplemental balance sheet information (in thousands) |  |  |
Operating lease ROU assets |  | $ | 42,571 |
Operating lease liabilities: |  |  |  |
Accrued expenses and other current liabilities |  | $ | 6,857 |
Operating lease liabilities |  |  | 37,056 |
Total operating lease liabilities |  | $ | 43,913 |
Maturities of operating lease liabilities | The following table includes maturities of operating lease liabilities at June 30, 2019 (in thousands):
Maturities of operating lease liabilities |  |  |
2019 (excluding the six months ended June 30, 2019) |  | $ | 4,197 |
2020 |  |  | 8,290 |
2021 |  |  | 8,095 |
2022 |  |  | 6,278 |
2023 |  |  | 5,932 |
Thereafter |  |  | 17,063 |
Total lease payments |  |  | 49,855 |
Less imputed interest |  |  | (5,942 | )
Total operating liabilities |  | $ | 43,913 |

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=77888426&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration