Android Question Table View - Can I set the style of a single cell

rgarnett1955

Active Member
Licensed User
Longtime User
Hi

In Erel's TableExample he sets the column style of a single column using the following sub

B4X:
Sub SetColumnStyle(Index As Int, Style As String)
    Dim jo As JavaObject = TableView1
    Dim Column As JavaObject = jo.RunMethodJO("getColumns", Null).RunMethod("get", Array(Index))
    Column.RunMethod("setStyle", Array(Style))
End Sub

Is it possible to create a similar sub to format a single cell? I.E. with a row, col index?

I know you can use other methods such a custom list views, but they are tedious to set up and I don't need the level of
flexibility they provide.

Best regards

Rob
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…