去掉Drag a column header here to group.....

2025-04-17 00:46:19

1、在窗体中新建一个GridControl,开了一看到烦人的"Drag a 罕铞泱殳column header here to group by that column",如图所示

去掉Drag a column header here to group.....

2、其实GridControl可以包含很多的GridView,我们现在看到的就是MainView(gridview1),现在右键gridview1,查看属性

去掉Drag a column header here to group.....

3、进入属性栏后,选择OptionsView

去掉Drag a column header here to group.....

4、再选择ShowGroupPanel,默认情况下,属性为True

去掉Drag a column header here to group.....

5、现在将其改为False

去掉Drag a column header here to group.....

6、OK,我们再返回查看GridControl,烦人的家伙没有啦,效果见下图

去掉Drag a column header here to group.....
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢