gridLookUpEdit字典控件 模糊查询

gridLookUpEdit字典控件 模糊查询

复制代码

this.gridLookUpEdit1.Properties.DataSource = dt;
                    this.gridLookUpEdit1.Properties.DisplayMember = dt.Columns[2].ColumnName;
                    this.gridLookUpEdit1.Properties.ValueMember = dt.Columns[0].ColumnName;
                     
                    this.gridLookUpEdit1.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
                    this.gridLookUpEdit1.Properties.View.BestFitColumns();
                    this.gridLookUpEdit1.Properties.ShowFooter = false;
                    this.gridLookUpEdit1.Properties.View.OptionsView.ShowAutoFilterRow = true; //显示不显示grid上第一个空行,也是用于检索的应用
                    this.gridLookUpEdit1.Properties.AutoComplete = false;
                    this.gridLookUpEdit1.Properties.ImmediatePopup = true;
                    this.gridLookUpEdit1.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
                    this.gridLookUpEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;
posted @ 2019-06-11 09:50  grj001  阅读(199)  评论(0编辑  收藏  举报