Android Question B4XTable format column

ThePuiu

Active Member
Licensed User
Longtime User
I tried to use B4XTable and find it hard enough to customize columns, rows, cells ... For example, I want to know if is possible to add padding to the cells? It looks pretty ugly text stuck to cell border ... and another problem...how to hide one column (that column containing the row id)
Thank you
 

mangojack

Expert
Licensed User
Longtime User
I cannot help re padding .

If interested .. this covers cell alignment. https://www.b4x.com/android/forum/threads/how-to-set-text-alignment-in-b4xtable.103870/#post-651166
(see also post#4)

To Hide or Show Columns ... (From the B4XTable Example) have you seen it ??

B4X:
Private NumberColumn As B4XTableColumn  'Global in example.
   
    NumberColumn = B4XTable1.AddColumn("Interesting Number", B4XTable1.COLUMN_TYPE_NUMBERS)
   
    'change the visible columns order
    'remove the number columns
   
    B4XTable1.VisibleColumns.RemoveAt(B4XTable1.VisibleColumns.IndexOf(NumberColumn))
    B4XTable1.VisibleColumns.InsertAt(1, NumberColumn)   
    B4XTable1.Refresh
 
Upvote 0
Top