DevExpress.XtraGrid.Views.Grid.GridView gv = sender as DevExpress.XtraGrid.Views.Grid.GridView;
if (gv.FocusedColumn.FieldName == "DIV_EXP_NO" && gv.ActiveEditor is GridLookUpEdit)
{
GridLookUpEdit lue = gv.ActiveEditor as GridLookUpEdit;
DataTable dt = lue.Properties.DataSource as DataTable;
DataView dv = new DataView(dt);
string strItem = gv.GetRowCellValue(gv.FocusedRowHandle, gv.Columns["ITEM_NAME"]).ToString();
dv.RowFilter = string.Format("ITEM_NAME='{0}'", strItem);
lue.Properties.DataSource = dv;
}
'Language > SDK,Component' 카테고리의 다른 글
[Devexpress/WinForm/C#] XtraGrid - GridView CustomRowCellEdit (0) | 2021.10.26 |
---|---|
[Devexpress/WinForm/C#] XtraGrid (GridView) Record 단위 Checkbox (CheckBoxRowSelect) 설정 (0) | 2021.09.03 |
Microsoft Exchange Web Service Managed API SDK 1.2.1 (0) | 2012.06.25 |
DevExpress dotNet Free Component (0) | 2011.09.27 |