开发者

I need horizontal scrolling for GridView

I've got my GridView inside another Panel and I got scrollbars but GridView is to big even with paging. So user needs to scroll down to scroll horizontal (to see horizontal scrollbar).

How can I add any horizontal scrolling trick for my GridView in the Panel. Maybe something from javascript ? My js knowledges is still being poor.

I really开发者_如何学JAVA hard thinking on what that could be, maybe floating horizontal scrollbar ?

Thank you.


This can be done with the CSS Overflow property, see: http://www.w3schools.com/Css/pr_pos_overflow.asp

You may be able to add this to your asp Control, or see how the <asp:Panel> is rendered (I haven't used WebForms for a while, but I think it's a HTML <span>) and give it an appropriate element Id/class and set the CSS property in a seperate stylesheet.


I think this is what you are searching for? : scrollLeft

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜