具有固定的页眉和页脚的gridview滚动
问题描述:
如何在固定标题和页脚的情况下为gridview设置滚动?
how to set a scroll for gridview with header & footer fixed?
答
穆尼拉詹,
1. gridview中有一个名为useaccessible标头的属性,将此属性设置为true,但仅在IE中有效.
2.禁用gridview的页眉和页脚,并在网格上方和下方添加相同宽度的html表.在页眉表中放置网格标题,在页脚表中放置页脚内容.
希望对您有帮助
Hi Munirajan,
1.There is a property called useaccessible header in gridview, set this true but it works only in IE.
2.Disable header and footer of gridview and add an html table of same width above and below the grid. In header table place your grid headings and in footer table place your footer things.
Hope this helps
检查此
如何在滚动时固定GridView的页眉和页脚? [ http://csharpdotnetfreak.blogspot.com/2009/07/scrollable-gridview- fixed-headers-asp.html [ ^ ]
Check this
How to Fixed GridView''s Header and Footer when scrolling?[^]
http://csharpdotnetfreak.blogspot.com/2009/07/scrollable-gridview-fixed-headers-asp.html[^]
^ ]