본문 바로가기
반응형

데브 그리드3

WPF & DevExpress GridControl LookupEdit & ComboBoxEdit 1.그리드 내의 lookupedit 2.Resources를 활용한 lookupedit 3.comboboxedit using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Wi.. 2021. 3. 22.
DevExpress에서 자주 사용하는 코드 Dev Express에서 자주 사용되는 메서드 및 기능 ComboBox cmbCombo.EditValue = dr["name"].ToString(); //콤보박스에서 textbox처럼 키입력 검색기능 blupReqDept_Search.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; Radio Button RdoRadio.EditValue = dr[""].ToString(); Checkbox //체크박스 기본 값 설정 chkValue.Properties.DisplayValueChecked = "Y"; chkValue.Properties.DisplayValueGrayed = "N"; chkValue.Prop.. 2016. 4. 11.
DevExpress 그리드 이벤트 Dev Express의 그리드에서 사용하는 이벤트및 이벤트 응용에 관한 코드. 컬럼이 에디터모드를 들어갈 때 private void gvMaster_ShowingEditor(object sender, CancelEventArgs e)//컬럼별로 튕기기 { var view = sender as GridView; string fieldName = view.FocusedColumn.FieldName; string[] disabledEditingColumns = { "a", "b","c", "d", "e" , "f" }; string[] enabledEditingColumsn = { "a", "b", "c", "d", "e", "f", "g" }; if (view.GetFocusedDataRow().RowSta.. 2015. 8. 31.
반응형