Feb 16, 2015 Replies: 11 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+: https://www.b4x.com/android/forum/threads/updates-to-internal-libraries.48179/#post-320521 Attachments ExpandableTableView.zip ExpandableTableView.zip 5.3 KB · Views: 434 Last edited: Feb 26, 2015 Click to expand...
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+: https://www.b4x.com/android/forum/threads/updates-to-internal-libraries.48179/#post-320521
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2015 #3 stari said: I thing, some files are missing. Click to expand... Which error do you get? Make sure to update TableView library: https://www.b4x.com/android/forum/posts/314903/
stari said: I thing, some files are missing. Click to expand... Which error do you get? Make sure to update TableView library: https://www.b4x.com/android/forum/posts/314903/
stari Active Member Licensed User Longtime User Feb 16, 2015 #4 Updated, still error. B4i version 1.80. Attachments err1.JPG 16 KB · Views: 59 err2.JPG 35.8 KB · Views: 54
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2015 #5 Sorry. I've uploaded a new file. Ignore the "newer version" message.
stari Active Member Licensed User Longtime User Feb 25, 2015 #7 OK, wery good. I wish to put some buttons in a Cell, or more images. Have no idea how.
Erel B4X founder Staff member Licensed User Longtime User Feb 25, 2015 #8 ListView currently doesn't support custom layouts. It will be added in the future.
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2015 #9 Updated version of ExpandableTableView that supports custom views was uploaded to the first post.
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2015 #10 I've updated the zip file to version 1.10. It fixes an issue where items disappear incorrectly.
stari Active Member Licensed User Longtime User Mar 23, 2015 #11 Erel said: I've updated the zip file to version 1.10. It fixes an issue where items disappear incorrectly. Click to expand... Excelent
Erel said: I've updated the zip file to version 1.10. It fixes an issue where items disappear incorrectly. Click to expand... Excelent
F ferya Member Licensed User Longtime User Oct 18, 2016 #12 Hi, How can I use this service for right to left text direction.