gridview中的滚动条(水平和垂直C#vs 2010 [英] scroll bar in gridview (horizontal and vertical C# vs 2010
本文介绍了gridview中的滚动条(水平和垂直C#vs 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请将下面的gridview代码设置为可滚动。
我已插入
Please make the gridview codes below scrollable.
I have inserted
ScrollBars="Both"
但它不工作
but its not working
<tr>
<td class="style32" colspan="8">
<div style="height: 80px; text-align: left;" align="center">
<asp:GridView ID="GridView1" runat="server" ScrollBars="Both" Font-Size="XX-Small"
onselectedindexchanged="GridView1_SelectedIndexChanged" BackColor="White"
PageSize="5">
<Columns>
<asp:CommandField ShowSelectButton="True" />
</Columns>
</asp:GridView>
</div>
</td>
</tr>
推荐答案
请检查
Gridview固定标题
I认为这可以解决你的问题。
Please check
Gridview Fixed Headers
I think this can solve your problem.
这篇关于gridview中的滚动条(水平和垂直C#vs 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文