I made a tableview and I stored numbers in each cells as object
when I clicked some cell, I got number(object info) of each cells by using below method
Then, I am trying to get numbers (objects info) during the multiple selection
is there any way to get information from multiple selected cells?
I used below code from table example
when I clicked some cell, I got number(object info) of each cells by using below method
B4X:
Sub TableView1_SelectedCellChanged (RowIndex As Int, ColIndex As Int, Cell As Object)
Log(Cell)
End Sub
Then, I am trying to get numbers (objects info) during the multiple selection
is there any way to get information from multiple selected cells?
I used below code from table example
B4X:
Dim jotable As JavaObject=TableView1
Dim joSelMode As JavaObject
joSelMode.InitializeStatic("javafx.scene.control.SelectionMode")
Dim tvSelModel As JavaObject = jotable.RunMethodJO("getSelectionModel", Null)
tvSelModel.RunMethod("setSelectionMode",Array(joSelMode.GetField("MULTIPLE")))
Last edited: