Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by paw on Dec 05, 2007 18:43
open dhtmlx forum
retrieving the cell index

sir, what method will retrieve the cell index of a specific cell?
Answer posted by Support on Dec 06, 2007 02:54
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
    http://dhtmlx.com/docs/products/dhtmlxGrid/doc/events.html#grid_api_ev