Dev GridControl数据修改后实时更新数据源(转)

1:  /// <summary>

   2:  /// 嵌入的ComboxEdit控件选择值变化事件
   3:  /// </summary>
   4:  /// <param name="sender"></param>
   5:  /// <param name="e"></param>
   6:  private void repositoryItemComboBox_Gender_SelectedIndexChanged(object sender, EventArgs e)
   7:  {
   8:      if (!grdViewTest.IsNewItemRow(grdViewTest.FocusedRowHandle))
   9:      {
  10:          grdViewTest.CloseEditor();
  11:          grdViewTest.UpdateCurrentRow();
  12:      }  
  13:  }
https://blog.csdn.net/singgel/article/details/76230159

posted on 2019-04-22 21:58  xihong  阅读(2586)  评论(0编辑  收藏  举报

导航