具有固定标题的可滚动gridview隐藏第一行 [英] scrollable gridview with fixed header hides the first row

查看:91
本文介绍了具有固定标题的可滚动gridview隐藏第一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在我的项目中,我通过将位置属性设置为绝对"来使用带有固定标题的gridview.标头已固定,但gridview的第一行隐藏在标头后面.有什么解决办法吗?

谢谢.

Hi,
In my project I''m using a gridview with fixed header by setting the position proprty as ''absolute''. Header is getting fixed, but the first row of gridview is hiding behind the header. Is ther any solution for this problem?

Thank You.

推荐答案

请检查固定标题的Gridview [ ^ ]和在Gridview ASP.NET中修复标头 [<您的href ="http://www.codeproject.com/Questions/379437/Fixed-Header-in-Gridview-ASP-NET" target ="_ blank" title ="New Window"> ^ ]需求...
Please check Gridview with Fixed Header[^] and Fixed Header in Gridview ASP.NET[^] for your requirements...


我已将gridview放在表中.

< tr>< td>
标头1
</td>< td> Header2</td>< td class ="style26"& Emp名称</td></tr>
< tr>< td colspan ="3">< div class ="scroll">
< asp:GridView ID ="GridView1" runat ="server" ShowHeader ="false">
<专栏>

</列>

</asp:GridView></div></td></tr>
</table>


谢谢
I''ve placed the gridview in a table.

<tr><td>
Header1
</td><td>Header2</td><td class="style26">Emp Name</td></tr>
<tr><td colspan="3"><div class="scroll">
<asp:GridView ID="GridView1" runat="server" ShowHeader="false" >
<Columns>

</Columns>

</asp:GridView></div></td></tr>
</table>


Thank You


这篇关于具有固定标题的可滚动gridview隐藏第一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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