如何使Janus GridEx列为只读? [英] How to make a Janus GridEx column readonly?

查看:211
本文介绍了如何使Janus GridEx列为只读?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Windows窗体应用程序,并且有一个包含3列的Janus GridEx组件.我不希望用户更改前两列中的值,但是我找不到使前两列和第三列可编辑的readonly或allowedit为false的方法.

I'm working on a windows forms app and there is a Janus GridEx component with 3 columns. I don't want users to change the values in the first two columns but I can't find the way to make readonly or allowedit false for the first two columns and third column editable.

我尝试过更改编辑模式,但也没有运气...外面的人都知道怎么做?

I've tried changing the editmode but no luck either... anyone out there knows how?

推荐答案

您是否尝试过:

column.EditType = Janus.Windows.GridEX.EditType.NoEdit;

?

这篇关于如何使Janus GridEx列为只读?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆