Check out example codes for "loop gridcontrol devexpress c#". It will help you in understanding the concepts better.

Code Example 1

for (int i = 0; i < gridView1.DataRowCount; i++)  
{  
     if (gridView1.GetRowCellValue(i, "FieldName") == value)  
         //do something  
}

Learn ReactJs, React Native from akashmittal.com