Giter Club home page Giter Club logo

react-treetable's People

Contributors

eleanormao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-treetable's Issues

列计算问题

页面由有滚动条变为无滚动条时,列对不齐
有fixedTable时,遮挡下滚动条

项目报错

clone完项目dev报错,然后在其他项目用这个组件也是报错,什么问题呢
image

image

Don't use open-browser-webpack-plugin

open-browser-webpack-plugin calls xdg-open without checking if it is installed on the system, which fails npm run dev because xdg-open fails inside openBrowserPlugin.

Some systems like Windows Subsystem for Linux do not have xdg-open, either as binary or as a buildable target (and it shouldn't, WSL doesn't officially support X server).

row selection in tree

Hello, and thanks for great work. I'm almost finished my task with this component. In documentation i found "selectRow" property, but it's doesn't work with tree. I need get row by onClick event. Is there something like that?

Can't see the arrow button

Hello,

I've tried to create a simple TreeTable but the "arrow button" is not displayed.
My sample:

import React, { Component } from 'react'
import { TreeTable, TreeHeadCol } from 'react-treetable'

class MaintenancePlan extends Component {

    constructor() {
        super()
        this.state = {
            data: [{ a: 1, b: 2, list: [{ a: 11, b: 21, }] }]
        }
    }

    render() {
        return (
            <TreeTable iskey="a" data={this.state.data} >
                <TreeHeadCol width={20} dataField="a">Foo</TreeHeadCol>
                <TreeHeadCol width={100} dataField="b" >bar</TreeHeadCol>
            </TreeTable >
        )
    }
}
export default MaintenancePlan

The result:

2017-02-24 08_51_48-react app

And if I add expandAll={true}

2017-02-24 08_51_04-react app

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.