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: }
posted on 2014-11-27 10:16 jingkunliu 阅读(15549) 评论(0) 编辑 收藏 举报