Git Product home page Git Product logo

react-virtualized-tree's Introduction

react-virtualized-tree

A virtualized tree view react component based on react-window

screen

Install

npm i --save react-virtualized-tree-view

Usage

import Tree from 'react-virtualized-tree-view';

API

name type default description
items array of objects Each object must contain next properties: id (number), text (string), rootId (number or null)
width number 300 component width
height number 400 component height
rowHeight number 25 single row height
onRowClick function row click handler

react-virtualized-tree's People

Contributors

dependabot[bot] avatar victor-magarlamov avatar

Stargazers

 avatar  avatar

Watchers

 avatar

react-virtualized-tree's Issues

Uncaught TypeError: n2.sort is not a function

error occurred in using package

react-dom_client.js?v=fb2ecdd2:16659 Uncaught TypeError: n2.sort is not a function
at Function.value (react-virtualized-tree-view.js?v=d3d8336e:868:25)
at l2.value (react-virtualized-tree-view.js?v=d3d8336e:898:20)
at commitLayoutEffectOnFiber (react-dom_client.js?v=fb2ecdd2:17020:36)
at commitLayoutMountEffects_complete (react-dom_client.js?v=fb2ecdd2:17976:17)
at commitLayoutEffects_begin (react-dom_client.js?v=fb2ecdd2:17965:15)
at commitLayoutEffects (react-dom_client.js?v=fb2ecdd2:17916:11)
at commitRootImpl (react-dom_client.js?v=fb2ecdd2:19349:13)
at commitRoot (react-dom_client.js?v=fb2ecdd2:19273:13)
at finishConcurrentRender (react-dom_client.js?v=fb2ecdd2:18801:15)
at performConcurrentWorkOnRoot (react-dom_client.js?v=fb2ecdd2:18714:15)
value @ react-virtualized-tree-view.js?v=d3d8336e:868
value @ react-virtualized-tree-view.js?v=d3d8336e:898

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.