冻结gridview中的最后一个笨拙的对象 [英] Freeze last clumn in the gridview

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

问题描述



我如何冻结网格视图的最后一列,在该列中我还实现了滚动条,并且我冻结了一些初始列.

谢谢
Akash

解决方案

当您未添加任何可单击的控件时,Gridview列已冻结".但是,如果您在gridview列中添加了任何可单击的控件,则需要冻结"(?? !!)或在网格的row_databound事件中禁用该列中的控件. >

可以使用CSS冻结网格视图列.

请参考下面的示例链接以冻结列.

http://www.vbknowledgebase.com /?Id=91&Desc=Freeze-GridView-Columns-and-Headers-in-ASP.Net-CSS [ 解决方案

The Gridview columns is already ''freezed'' when you dont have any clickable controls added to it. But if you have added any clickable control to the gridview column , then you need to ''freeze'' ( ?? !!) or disable the control(s) in the column in the row_databound event of the grid..


Freezing a grid view column can be done by using the css.

Please refer the below link that shows with example to freeze a column.

http://www.vbknowledgebase.com/?Id=91&Desc=Freeze-GridView-Columns-and-Headers-in-ASP.Net-CSS[^]

In your case you can implement it to freeze the last column.


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

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