B4J Question TableView Width and other params not working

Peter Lewis

Active Member
Licensed User
Longtime User
Hi

I have tried everything and this is still not working. If you have any ideas, please let me know

B4X:
    Main.RootPane.LoadLayout("1") 'Load the layout file.

    TableView1.SetColumns(Array As String("Cust No.", "Name", " Phone", "Contact", "Province"))
    TableView1.SetColumnWidth(0,210)
    TableView1.SetColumnWidth(1,250)
    TableView1.SetColumnWidth(2,210)
    TableView1.SetColumnWidth(3,250)
    TableView1.SetColumnWidth(4,210)

    TableView1.SetColumnSortable(0, True)
 

Peter Lewis

Active Member
Licensed User
Longtime User
What happens when it doesn't work?

Can you upload the project (File - Export as zip)?

Hi

It just does not display the column names and the widths do not set.

I am sure it is not the enviroment, it must be the way I did the program.

you will need to run update under the File menu first to generate all the local DB files. Then I tried the table under Customer and under Stock

Thank you
 
Upvote 0
Top