Check out example codes for "get multi-selected rows gridcontrol devexpress". It will help you in understanding the concepts better.

Code Example 1

if (dtData.DataRowCount > 0)
            {
                foreach (int i in dtData.GetSelectedRows())
                {
                    DataRow row = dtData.GetDataRow(i);
                    MessageBox.Show(row[0].ToString());
                }
            }

Learn ReactJs, React Native from akashmittal.com