Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] add indent for data.i.children...children #21

Merged
merged 2 commits into from
Dec 25, 2015
Merged

Conversation

jaredleechn
Copy link
Member

  1. 为 children 上的节点增加缩进,默认每级 15px
var data = [{
  key: 1,
  name: 'indent0',
  children: [{
    key: 6,
    name: 'indent1'
  }, {
    key: 7,
    name: 'indent1',
    children: [{
      key: 8,
      name: 'indent2'
    }]
  }]
}] 

<Table data = {data} indentSize = {40}/>

@benjycui
Copy link
Member

在每个 example 的 js 文件头部加上:

image

afc163 added a commit that referenced this pull request Dec 25, 2015
[feat] add indent for data.i.children...children
@afc163 afc163 merged commit d21175f into master Dec 25, 2015
@afc163 afc163 deleted the childrenIndent branch December 25, 2015 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants