开发者

freeze columns and rows

开发者 https://www.devze.com 2023-03-19 00:12 出处:网络
I am developing one application in asp.net 2010. I want freezing functionality like in http://datatables.net/extras/fixedcolumns/ link.

I am developing one application in asp.net 2010.

I want freezing functionality like in http://datatables.net/extras/fixedcolumns/ link. I don't want to use any plug in. And also there is a functionality to show or hide specific columns. So in this situation freezing should work properly.

Any solution please?

I have found one solution from here: http://tonesdotnetblog.wordpress.com/2009/05/30/how-to-create-an-html-table-with-frozen-headers-and-columns/

It is working fine if don't show/hide any columns at client side. But when i show/hide columns in freeze-section then width of freeze-section remain as it is hence create blank space at end. Actually width of table should be adjust automatically so that combination of both freeze and 开发者_运维知识库non-freeze section will create illusion of one table only. Any Solution?


You won't be able to achieve this using the standard GridView. I would suggest that you take a look at some third party tools where this option is available. For example, to the ASPxGridView control from DevExpress. Here are links to a couple of demos:

Customization Window

Fixed Columns

0

精彩评论

暂无评论...
验证码 换一张
取 消