冻结Datagrids第一列和最后一列 [英] Freeze Datagrids first and last column

查看:85
本文介绍了冻结Datagrids第一列和最后一列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在应用程序中使用DataGrid控件.

要求是我需要冻结DataGrid的前2列和后1列.

我正在使用

Hi,

I am using DataGrid control in my application.

Requirement is i need to freeze first 2 and last 1 column of DataGrid.

I am using

DataGrid1.FrozenColumnCount =2;



但是到此为止,只有前两列冻结了.

我也该如何冻结我的最后一篇专栏文章.

请指导我.



But by this only first two columns get freeze.

How can i freeze my last column also.

Please please guide me.

thanks in advance.

推荐答案

可以将最后一列移到第二个位置吗?
在当前版本中,您只能冻结datagrid的一部分,而不能冻结两个.
Can you move the last column to the second location?
In the current release, you can only freeze one section of the datagrid, not two.


这篇关于冻结Datagrids第一列和最后一列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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