RowID for CSV Parsed DataTable

Hi,

I am parsing a csv file and loading into Datatable. I would like to access row Id through a for loop ( 1 to rowcount) for collecting values. I am unable to access. Please advise

Ashok

Hi,
I have used the following code which works.

     var fid = $$('wbxImp').getFirstId();
     var lid = $$('wbxImp').getLastId();

     for (var i=fid;i<lid;i++)  {
        var iRow = $$('wbxImp').getItem(i);
     }

The firstid is some huge number. Is this how it works or is there another simpler way?

Ashok

just use

$$("wbxImp").data.each(function(iRow, index){
    //iRow - row data object
});

http://docs.webix.com/desktop__data_object.html#iteratingdataitems

Thank you