title: How to access rows to access record in the XtraGrid CardView DevExpress
body: <p>I have a grid control set up with a master-detail relationship , however i want to know how i can access the detail view record or rows to perform Editing or Update information. I have tried this but it's not working, it returns 0 to the form:</p>
  
  <pre><code>void AddPayment_Click(object sender, EventArgs e) {
      Paymentfrm payent = new Paymentfrm(Utils.Formtype.add, 0);
      payent.PaymentEvent += new EventHandler(RefreshingGrid);
      payent.PayentlabelsEvent += new EventHandler(RefresHlabels);
  
      gridView1.ViewCaption = " Lessee Payment ";
      CardView card = new CardView(DgPaymentYW);
      DgPaymentYW.LevelTree.Nodes.Add("LesseePayments", card);
  
      card.ViewCaption = " Lessee Payments";
      GetPayment.TotalPrice = Convert.ToDecimal(card.GetFocusedRowCellValue("TotalPrice"));
  
  
      payent.ShowDialog();
  }
  </code></pre>