我有 GridView ,我想滚动它而不滚动标题和顶部边框。 我有以下 css 解决方案来滚动 gridview 而无需滚动标题行,但我无法避免顶部 GridView 边框的滚动。
.HeaderFreez
{
position: relative;
top: expression(this.offsetParent.scrollTop);
z-index: 10;
}
.....
.....
<HeaderStyle CssClass="HeaderFreez" BackColor="Silver" ForeColor="Black" Font-Size="8pt" BorderStyle="Solid" Wrap="False" />
有什么解决方案可以避免在 aspx 中滚动 GridView 的顶部边框吗??
最佳答案
关于asp.net - 固定标题和顶部边框的 ASP GridView 滚动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21472554/