如何隐藏devexpress XtraGrid的列 [英] How to hide column of devexpress XtraGrid

查看:215
本文介绍了如何隐藏devexpress XtraGrid的列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai all,
我在C#.NET应用程序中使用devexpress XtraGrid。在运行时我想隐藏1列XtraGrid并访问该页面中的代码。请帮助访问
XtraGrid。

Hai all, Am using devexpress XtraGrid in C#.NET application.On run time i want to hide 1 column of XtraGrid and access that column in code behind page.And please help to access rows and columns of XtraGrid.

谢谢

推荐答案

View.Columns [someFieldName] .Visible属性来隐藏/显示列。另请参阅以下主题:

You should use the View.Columns[someFieldName].Visible property to hide / show a column. Please also refer to the following topic:

http ://documentation.devexpress.com/#WindowsForms/CustomDocument753

这篇关于如何隐藏devexpress XtraGrid的列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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