首页 > 慧问 > 频道

关于Repository Item Grid LookUpEdit的问题

发表于2019-05-10 回复:0 查看:4986  |  
双击gridview中的一条数据.打开一个新的窗口.其中有一列数据时绑定在DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit控件上的. 如下: <pre class='brush: csharp'>this.colDelayReason.Caption = "Delay Reason"; this.colDelayReason.ColumnEdit = this.uxDelayReasonRepositoryItemGridLookUpEdit; this.colDelayReason.FieldName = "DelayReasonID"; this.colDelayReason.Name = "colDelayReason"; this.colDelayReason.OptionsColumn.AllowEdit = false; this.colDelayReason.Visible = true; this.colDelayReason.Width = 84;</pre> 现在我通过DevExpress.XtraGrid.Views.Base.CellValueChangedEventArgs e 判断 if (e.Column.FieldName == colDelayReasonID)我只能得到这一列的一个值.我现在想要得到我自己在页面上输入的那个值该用什么属性呢?
1个回答
  • 1970-01-01 08:00
    根据数据的多少来动态增加div的宽度就可以了
    1
    回复 举报
回复

登录 慧都网发表评论

扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP