iOS Tutorial TableView - "B4i ListView"

davepamn

Active Member
Licensed User
Longtime User
Wow this is cool. Tableviews are the heart of iOS

What version did iTableviews become available?

Where can I go to get the current version?
 
Last edited:

qsrtech

Active Member
Licensed User
Longtime User
I'm having some strange behavior with this itableview(1.2) when using the addtwolines method. No matter what I try it seems the detail line always defaults to the mainline text unless I use the attributedstring with the detail, even then it won't work if some of the "details" are empty but it will work if I put a space (i.e. " ") for the detail. I use tablecell.update after adding each line. Another weird thing is in some of my "pages", the items won't show up until I use reloadall. Please look into. Thanks
 

Marco Maria Vilucchi

Active Member
Licensed User
Longtime User
Hi Erel,
I have 2 questions

1) how can i customize text/cell after your
TableView1.AddSingleLine("Item #" & i)

2) how can i customize text/cell for "First line"
Dim tc As TableCell = TableView1.AddTwoLines("First line", "") 'the second line will be soon added

Ths
Marco
 

dieterp

Active Member
Licensed User
Longtime User
If I populate a TableView with records from a ResultSet (Let's say I add 'PersonName' using AddSingleLine to populate the TableView), is it possible to link the 'PersonID' to the 'PersonName' in that list? I know in B4a we can use AddSingleLine2 to link the ID. Is there anything similar in B4i?
 

dieterp

Active Member
Licensed User
Longtime User
I'm having some troubles with getting records to display in a TableView. It's been a bit erratic today whereby sometimes the records will display and other times it won't. Is there anything I should know about when to initialise a TableView, when to populate it etc.? I step through the code, I see the records being inserted into the TableView via code, the TableView appears on the screen but there are no entries. Any ideas?
 

coldtech

Member
Licensed User
Longtime User

Try calling TableView.ReloadAll when finished loading?
 

energypf

Member
Licensed User
Longtime User
Good morning, I would like to know how to set the transparency of the TableView.
 

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Somebody knows how to put the iTableview transparent?

I tried:

B4X:
tblMenu.Initialize("tblMenu", False)
pageMenu.RootPanel.AddView(tblMenu, 0, 100, 100%x, 100%y)
   
tblMenu.TintColor = Colors.Transparent
tblMenu.Color = Colors.Transparent
   
tblMenu.AddSingleLine("Teste")


and tried with customitem.....

It´s possible create a simple itableview (without customview) with transparente itens?
 

cloner7801

Active Member
Licensed User
Longtime User
Hi ,
How can create Group style tableview?
Can you post a source code for me?
Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…