Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by tep on Jun 29, 2008 18:43
open dhtmlx forum
loop through columns

Hi,

i would like to ask how to loop though columns,for rows a foreachrow() method exists..
the loop i need is to loop through columns then rows..
Answer posted by Support on Jun 30, 2008 01:47
You can use
    for (var i=0; i<grid.getColumnsNum(); i++){
       //i  - column index;
    }