水平滚动条是不可见的DataGridView [英] Horizontal Scrollbar is not visible on DataGridView

查看:318
本文介绍了水平滚动条是不可见的DataGridView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 DataGridView的窗口的形式在其上填充行30列和数千人。
滚动条属性设置为两个,但还是水平滚动条是不可见的。即使我无法从键盘上的箭头键滚动。

I have a DataGridView on Window form which is populated with 30 columns and thousands of rows. ScrollBars property is set to Both, but still horizontal scroll bar is not visible. even I am unable to scroll with arrow key from keyboard.

我试了一下通过滚动条属性设置为水平为好,但这并没有什么差别。

I tried it by setting ScrollBars property to Horizontal as well, but that does not make any difference.

有什么建议吗?

感谢

推荐答案

好,大家好,其整理出来。

Well Guys, its sorted out.

我回答我的问题;它可以帮助别人的未来。

I am answering my own question; it may help someone in future.

其中一列已冷冻属性设置为。这应该是所有列。
现在滚动条工作绝对没我。

one of the columns has Frozen property set as True. which should be false for all columns. Now ScrollBar is working absolutely fine for me.

干杯

这篇关于水平滚动条是不可见的DataGridView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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