├── .babelrc ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── demo ├── .gitignore ├── bun.lockb ├── components │ ├── Demo.tsx │ ├── Layout.tsx │ ├── demo-data-gen.ts │ └── demo-data-static.ts ├── index.tsx ├── out │ ├── index.html │ └── styles │ │ ├── header.css │ │ ├── index.css │ │ ├── responsive.css │ │ └── table.css ├── package.json └── tsconfig.json ├── documentation ├── .gitignore ├── assets.js ├── build.js ├── custom-markdown.js ├── layouts │ ├── helpers │ │ ├── at-key.js │ │ └── if-cond.js │ ├── index.hbs │ ├── mdblocks │ │ ├── jsfiddle.js │ │ ├── note.js │ │ ├── optional.js │ │ ├── readonly.js │ │ ├── required.js │ │ ├── tag.js │ │ ├── tmethod.js │ │ ├── tprop.js │ │ └── type.js │ └── partials │ │ ├── api-section-header.hbs │ │ ├── api-section.hbs │ │ ├── default-section.hbs │ │ ├── outline-section-link.hbs │ │ ├── outline-sections.hbs │ │ ├── section.hbs │ │ ├── select-section-option.hbs │ │ └── select-sections.hbs ├── package.json ├── public │ ├── assets │ │ └── link.svg │ └── css │ │ ├── main.css │ │ └── syntax.css ├── versions.js └── versions │ ├── index.md │ └── v1.0 │ ├── api-reference │ ├── row-metadata.md │ ├── row-state.md │ ├── row.md │ ├── tree-node.md │ ├── tree-state.md │ ├── tree-table-column.md │ └── tree-table.md │ ├── demos │ ├── collapse-expand-all.md │ ├── editable.md │ ├── scroll-into-view.md │ └── scroll-to.md │ ├── overview.md │ └── update-guide.md ├── package.json ├── rollup.config.declaration.js ├── rollup.config.js ├── src ├── component │ ├── CellWrapper.tsx │ ├── Column.tsx │ ├── HeaderCellWrapper.tsx │ ├── TreeTable.tsx │ ├── TreeTableHeader.tsx │ ├── VirtualList.tsx │ └── VirtualListRow.tsx ├── index.ts ├── model │ ├── constants.ts │ ├── row.ts │ └── tree-state.ts └── util │ └── row-creator.ts ├── test └── benchmark │ ├── .gitignore │ ├── index.js │ ├── mock-data.js │ └── package.json ├── tsconfig.declaration.json ├── tsconfig.json └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/README.md -------------------------------------------------------------------------------- /demo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/.gitignore -------------------------------------------------------------------------------- /demo/bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/bun.lockb -------------------------------------------------------------------------------- /demo/components/Demo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/components/Demo.tsx -------------------------------------------------------------------------------- /demo/components/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/components/Layout.tsx -------------------------------------------------------------------------------- /demo/components/demo-data-gen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/components/demo-data-gen.ts -------------------------------------------------------------------------------- /demo/components/demo-data-static.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/components/demo-data-static.ts -------------------------------------------------------------------------------- /demo/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/index.tsx -------------------------------------------------------------------------------- /demo/out/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/out/index.html -------------------------------------------------------------------------------- /demo/out/styles/header.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/out/styles/header.css -------------------------------------------------------------------------------- /demo/out/styles/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/out/styles/index.css -------------------------------------------------------------------------------- /demo/out/styles/responsive.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/out/styles/responsive.css -------------------------------------------------------------------------------- /demo/out/styles/table.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/out/styles/table.css -------------------------------------------------------------------------------- /demo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/package.json -------------------------------------------------------------------------------- /demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/demo/tsconfig.json -------------------------------------------------------------------------------- /documentation/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/.gitignore -------------------------------------------------------------------------------- /documentation/assets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/assets.js -------------------------------------------------------------------------------- /documentation/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/build.js -------------------------------------------------------------------------------- /documentation/custom-markdown.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/custom-markdown.js -------------------------------------------------------------------------------- /documentation/layouts/helpers/at-key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/helpers/at-key.js -------------------------------------------------------------------------------- /documentation/layouts/helpers/if-cond.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/helpers/if-cond.js -------------------------------------------------------------------------------- /documentation/layouts/index.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/index.hbs -------------------------------------------------------------------------------- /documentation/layouts/mdblocks/jsfiddle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/mdblocks/jsfiddle.js -------------------------------------------------------------------------------- /documentation/layouts/mdblocks/note.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/mdblocks/note.js -------------------------------------------------------------------------------- /documentation/layouts/mdblocks/optional.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/mdblocks/optional.js -------------------------------------------------------------------------------- /documentation/layouts/mdblocks/readonly.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/mdblocks/readonly.js -------------------------------------------------------------------------------- /documentation/layouts/mdblocks/required.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/mdblocks/required.js -------------------------------------------------------------------------------- /documentation/layouts/mdblocks/tag.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/mdblocks/tag.js -------------------------------------------------------------------------------- /documentation/layouts/mdblocks/tmethod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/mdblocks/tmethod.js -------------------------------------------------------------------------------- /documentation/layouts/mdblocks/tprop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/mdblocks/tprop.js -------------------------------------------------------------------------------- /documentation/layouts/mdblocks/type.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/mdblocks/type.js -------------------------------------------------------------------------------- /documentation/layouts/partials/api-section-header.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/partials/api-section-header.hbs -------------------------------------------------------------------------------- /documentation/layouts/partials/api-section.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/partials/api-section.hbs -------------------------------------------------------------------------------- /documentation/layouts/partials/default-section.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/partials/default-section.hbs -------------------------------------------------------------------------------- /documentation/layouts/partials/outline-section-link.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/partials/outline-section-link.hbs -------------------------------------------------------------------------------- /documentation/layouts/partials/outline-sections.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/partials/outline-sections.hbs -------------------------------------------------------------------------------- /documentation/layouts/partials/section.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/partials/section.hbs -------------------------------------------------------------------------------- /documentation/layouts/partials/select-section-option.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/partials/select-section-option.hbs -------------------------------------------------------------------------------- /documentation/layouts/partials/select-sections.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/layouts/partials/select-sections.hbs -------------------------------------------------------------------------------- /documentation/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/package.json -------------------------------------------------------------------------------- /documentation/public/assets/link.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/public/assets/link.svg -------------------------------------------------------------------------------- /documentation/public/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/public/css/main.css -------------------------------------------------------------------------------- /documentation/public/css/syntax.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/public/css/syntax.css -------------------------------------------------------------------------------- /documentation/versions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions.js -------------------------------------------------------------------------------- /documentation/versions/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/index.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/api-reference/row-metadata.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/api-reference/row-metadata.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/api-reference/row-state.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/api-reference/row-state.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/api-reference/row.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/api-reference/row.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/api-reference/tree-node.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/api-reference/tree-node.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/api-reference/tree-state.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/api-reference/tree-state.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/api-reference/tree-table-column.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/api-reference/tree-table-column.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/api-reference/tree-table.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/api-reference/tree-table.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/demos/collapse-expand-all.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/demos/collapse-expand-all.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/demos/editable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/demos/editable.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/demos/scroll-into-view.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/demos/scroll-into-view.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/demos/scroll-to.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/demos/scroll-to.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/overview.md -------------------------------------------------------------------------------- /documentation/versions/v1.0/update-guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/documentation/versions/v1.0/update-guide.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.declaration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/rollup.config.declaration.js -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/component/CellWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/component/CellWrapper.tsx -------------------------------------------------------------------------------- /src/component/Column.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/component/Column.tsx -------------------------------------------------------------------------------- /src/component/HeaderCellWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/component/HeaderCellWrapper.tsx -------------------------------------------------------------------------------- /src/component/TreeTable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/component/TreeTable.tsx -------------------------------------------------------------------------------- /src/component/TreeTableHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/component/TreeTableHeader.tsx -------------------------------------------------------------------------------- /src/component/VirtualList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/component/VirtualList.tsx -------------------------------------------------------------------------------- /src/component/VirtualListRow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/component/VirtualListRow.tsx -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/model/constants.ts: -------------------------------------------------------------------------------- 1 | // The default height (in pixels) for a row 2 | export const ROW_DEFAULT_HEIGHT = 26; 3 | -------------------------------------------------------------------------------- /src/model/row.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/model/row.ts -------------------------------------------------------------------------------- /src/model/tree-state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/model/tree-state.ts -------------------------------------------------------------------------------- /src/util/row-creator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/src/util/row-creator.ts -------------------------------------------------------------------------------- /test/benchmark/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/test/benchmark/.gitignore -------------------------------------------------------------------------------- /test/benchmark/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/test/benchmark/index.js -------------------------------------------------------------------------------- /test/benchmark/mock-data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/test/benchmark/mock-data.js -------------------------------------------------------------------------------- /test/benchmark/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/test/benchmark/package.json -------------------------------------------------------------------------------- /tsconfig.declaration.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/tsconfig.declaration.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/constantin-p/cp-react-tree-table/HEAD/yarn.lock --------------------------------------------------------------------------------