getting the index of a cell

sir, i would like to ask regarding what method can i use to retrieve the index of a particular cell? There is a getSelectedCellInde; however, i won’t be using a selected cell. Thank you sir!

Actually, most events provide column index as one of input parameters
You can get  index of column if you know column ID by
    grid.getColIndexById(…

If this is not work in your case , please provide more details about your situations, and which data you have to get column index.