本站首页    管理页面    写新日志    退出


«December 2025»
123456
78910111213
14151617181920
21222324252627
28293031


公告
================

注会练习软件
http://www.cpasoft.com.cn
我的注会软件官网

http://blog.163.com/abc7105@126/

 

 


哈哈,热爱快“过气”的DELPHI


我的分类(专题)

日志更新

最新评论

留言板

链接

Blog信息
blog名称:注册会计师(注会)练习软件
日志总数:398
评论数量:116
留言数量:27
访问次数:3282969
建立时间:2005年6月6日




[devexpress相关控件]devexpress的表格中当某条件不满足时某几列只读
软件技术

吕向阳 发表于 2006/9/13 10:49:54

Grid OptionsColumn 2 msgTimes read: 15 [devexpress.public.dotnet.xtragrid] Add to your favorite threads (requires login) -- Thread on dev.newswhat.com (beta) Grid OptionsColumnTarun Patel [Sep 1, 09:58] Msg has 1 replies 500)this.width=500'>500)this.width=500'> Add Tarun Patel to favorite authors (login) Hi, I have a grid with several columns displayed. The user can enter data into the grid which is bound to a datasource. But if certain criteria is met, I want some of the columns to be readonly. I know how to set the OptionsColumn properties, but i can't determine the best possible event to put the code in. Can you please direct me to the event best suited for this? Other grids I have used previously, used to have an event like "CanEditCell" or similar... Thanks in advance Re: Grid OptionsColumnHolger Persch [Sep 1, 11:50] Msg has 0 replies - Go to base msg by Tarun Patel 500)this.width=500'>500)this.width=500'> Add Holger Persch to favorite authors (login) Hi, You can use the ColumnView's "ShowingEditor" event to do this. private void gridView1_ShowingEditor(object sender, CancelEventArgs e) { if (condition) { e.Cancel = true; } } Regards Holger


阅读全文(2097) | 回复(0) | 编辑 | 精华
 



发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)



站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.047 second(s), page refreshed 144803175 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号