Git Product home page Git Product logo

Comments (8)

debabratapatra avatar debabratapatra commented on June 23, 2024

@rrajesh011 thanks for using this component. You can try disableRowExpand function. It should work.

from angular-tree-grid.

rrajesh011 avatar rrajesh011 commented on June 23, 2024

@debabratapatra I'm confused where to add this function, can you please explain me with an example. It will be help for me and other also. One more thing any way to apply bootstrap styling like table-dark, table-hover etc

from angular-tree-grid.

debabratapatra avatar debabratapatra commented on June 23, 2024

@rrajesh011 try adding leaf_node=true instead of hasChild:false. Use the latest version. Here is an example. You can always override existing css. Sorry for the delayed response.

from angular-tree-grid.

rrajesh011 avatar rrajesh011 commented on June 23, 2024

@debabratapatra thanks for reply.
One more thing, is this possible to expand one row at a time. I mean if i expand a row already expanded row will collapse and vice versa.

from angular-tree-grid.

debabratapatra avatar debabratapatra commented on June 23, 2024

I think this is what is happening here. If you click on expand icon(mean row is already expanded), it will collapse. Can you elaborate your problem?

from angular-tree-grid.

rrajesh011 avatar rrajesh011 commented on June 23, 2024

https://angular-tree-grid.stackblitz.io/basic_tree_grid here when i click on Bimal's expand icon if Sunil's row is expanded i want it to be collapsed automatically.

https://codepen.io/johnfinkdesign/full/xEVqvP check this out.

from angular-tree-grid.

debabratapatra avatar debabratapatra commented on June 23, 2024

I guess for this case collapseAll() (Maybe on expand event) should help. And it needs to be used smartly overcome this.

from angular-tree-grid.

rrajesh011 avatar rrajesh011 commented on June 23, 2024

@debabratapatra thanks for reply.

from angular-tree-grid.

Related Issues (20)

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.