Menu

Nested groups in GroupListView

Python
2012-01-14
2012-10-30
  • Ezer Fernandes

    Ezer Fernandes - 2012-01-14

    Hello! Is it possible to create nested groups in GroupListView?
    I need to create it based on a model that has self-relationship (ex.:
    Category), and put objects under these categories.

    Thanks for this great module so far. This is very useful. :-)

     
  • Werner F. Bruhin

    You can't do a tree view, if that what you mean by nested.

    In other words:

    cat1

    • item(s) of cat 1
      cat2
    • item(s) of cat 2
      etc

    is possible.

    cat1
    -items of cat1
    --subcat1
    ---items of subcat1
    cat2
    etc etc

    is as far as I know not possible.

    If that is what you need you might want to look at the wxPython dataview stuff
    which is available as of 2.9x, i.e. latest is 2.9.3.1.

    Werner

     
  • Ezer Fernandes

    Ezer Fernandes - 2012-01-14

    That's exactly what I need, many thanks for the response!
    ObjectListView interface is so neat to use, it would be great if that was
    possible... well, I could try to adapt it :-)

    Ezer

     
  • Werner F. Bruhin

    Yeap OLV is really great, use it all the time.

    Would love to see a tree option but this is way over my head.

    Werner

     

Log in to post a comment.

MongoDB Logo MongoDB