B4i Library [class] - ExpandableTableView (tree view)

Discussion in 'iOS Libraries' started by Erel, Feb 16, 2015.

  1. Erel

    Erel Administrator Staff Member Licensed User



    ExpandableTableView class uses TableView to implement a view that shows a tree of items.

    Each item can hold other children items. The user can expand or collapse the items.

    This class uses new methods added in TableView v1.10. These methods (InsertCells and RemoveCells) allow to update the cells without loading the whole section.

    Items are added to the Root cell. Each item can have more children. When you are done adding items you should call RefreshItems.
    See the attached example.

    This class requires iTableView 1.20+: http://www.b4x.com/android/forum/threads/updates-to-internal-libraries.48179/#post-320521
     

    Attached Files:

    Last edited: Feb 26, 2015
    MarcoRome, luke2012, billzhan and 2 others like this.
  2. stari

    stari Active Member Licensed User

    I thing, some files are missing.
     
  3. Erel

    Erel Administrator Staff Member Licensed User

  4. stari

    stari Active Member Licensed User

    Updated, still error. B4i version 1.80.
     

    Attached Files:

  5. Erel

    Erel Administrator Staff Member Licensed User

    Sorry. I've uploaded a new file. Ignore the "newer version" message.
     
  6. stari

    stari Active Member Licensed User

  7. stari

    stari Active Member Licensed User

    OK, wery good. I wish to put some buttons in a Cell, or more images. Have no idea how.
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    ListView currently doesn't support custom layouts. It will be added in the future.
     
    stari likes this.
  9. Erel

    Erel Administrator Staff Member Licensed User

    Updated version of ExpandableTableView that supports custom views was uploaded to the first post.

    upload_2015-2-26_14-46-55.png
     
    stari likes this.
  10. Erel

    Erel Administrator Staff Member Licensed User

    I've updated the zip file to version 1.10. It fixes an issue where items disappear incorrectly.
     
    stari likes this.
  11. stari

    stari Active Member Licensed User

    Excelent
     
  12. ferya

    ferya Member Licensed User

    Hi,
    How can I use this service for right to left text direction.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice