not the index of the row, but the index/position of the looped column / item from the itemarray
in the itemArray we get all columnvalues from the datarow
over this we do loop and using the idx (0,1,…) representing the current loop index for updating the columnname