1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

B4J Question [B4XTable] Get the number of a column

Discussion in 'B4J Questions' started by Johan Hormaza, Jun 26, 2019.

  1. Johan Hormaza

    Johan Hormaza Active Member Licensed User

    Hi, how can I get the number of a column and not its name when clicking on a cell?
    Thank you.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Code:
    Dim index As Int = B4XTable1.Columns.IndexOf(B4XTable1.GetColumn(ColumnId))
     
    Johan Hormaza likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice