B4J Question Tableview Run through the rows and get their values

riaanp

Member
I am trying to run through every column and row to get their values. Since I am new to B4J (love it by the way thank you guys!) can you advise how this can be achieved with code?

This is what I have figured out so far (the loops):


B4X:
'saw this piece of code on the forum somewhere
Dim Row() As Object =  TBLspares.SelectedRowValues

For ColumnRun = 0 To TableView1.ColumnsCount - 1
    For RowRun = 0 To TableView1.Items.Size -1
    
   'not sure how to get the current value for the row,col?
   'TableView1
   Log(Row(0))

    Next
Next

Thank you for any assistance!
 
Top