retrieving the cell index

sir, what method will retrieve the cell index of a specific cell?

The currently selected cell index
    var ind=grid.getSelectedCellIndex();

Covert column ID to index
    var ind=grid.getColIndexById(…

In case of events - they receive related column index as one of params - please reffer to
    dhtmlx.com/docs/products/dhtmlxG … rid_api_ev