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

i want dynamic height of row #128

Closed
nikunjjaineaton opened this issue Sep 4, 2019 · 3 comments
Closed

i want dynamic height of row #128

nikunjjaineaton opened this issue Sep 4, 2019 · 3 comments

Comments

@nikunjjaineaton
Copy link

 <NestedListView
     style={{ height: '100%',flexGrow: 0 }}
    data={devices}
    getChildrenName={(node) => 'children'}
    onNodePressed={(node) => {alert(node.name)
    console.log(node)}}
    renderNode={(node, level) => (

<NestedRow
// height = {0} //this shoud not be hard coded
level={level}
style={{ flexGrow:0,borderColor: 'black', borderWidth: 1}}
>

          <DeviceRow cropType={node.cropType} gpm={node.gpm} name={node.name} status={node.status} />
        
        </NestedRow>
@fjmorant
Copy link
Owner

Hi @nikunjjaineaton ,

Thanks for the suggestion, at the moment, that behaviour is not supported I am afraid but I'll add it in the roadmap

you can create a PR

@github-actions
Copy link

Stale issue message

@fjmorant
Copy link
Owner

Solved

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

No branches or pull requests

2 participants