Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by paw on Dec 22, 2007 22:41
open dhtmlx forum
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!
Answer posted by Stanislav on Dec 24, 2007 19:16
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.