From what I gather, the library as it stands currently has no long click, but it has a header click event in addition to the click event. I do not know if this meets your needs, but something like this:
B4X:
Sub B4XTable1_HeaderClicked (ColumnId As String)
Log(ColumnId) 'name of the column
If ColumnId="Name" Then
Log("I need to load layout one")
Else
Log("I need to load layout two")
End If
End Sub