Hi,
I am using an UltraWebGrid. I'm trying to eliminate the grid scrollbar (vertical and horizontal) and maintain only the page scrollbars. Is it possibe? I don't want any limit of height or width. Thanks
Fernando
See this knowledgebase article.
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=2529
Thanks! I will check that. Anyway, for now I set the grid.Height = 0px and disabled the autoamtic paging and it is working fine :)I just wanted to display the grid without vertical limit and it is working. Now I am working on the horizontal issue.
Regards,
Setting Grid.Width = 0% the grid grows to the rigth without limit, it is good, but I want to use the horizontal scrollbars at the bottom (scrollbars of the div or body or form or browser) but it is not displayed. I set overflow:auto or overflow:scrollbut dind't work. Also, when I use overflow:scroll in the body tag the scroll is displayed but disabled.... any idea? Regards
SORRY!!!! I forgot to remove the lines Unit.Percentage(100) and I was setting Empty before that. So now it is woking fine! the article ishttp://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=9691thank you very much!!Regards
Sorry, maybe I am not clear: I don't need that the grid fits in the browser (the article says:You can make a WebGrid display with no scrollbars, and fit its height and width to the size of the browser)
I need what I did now: the grid height has no limit, so it is working fine, with the scroll of the browser. I am ok with this. Now I need to do the same with the grid width, but the horizontal scroll bar is not displayed or displayed but disabled.
and I think that is not what I need. (maybe I am wrong)Also, that article has a link to another article that explains my case, setting the values to empty (it works like setting to 0)but it says:Similarly, you can clear the Width property of the grid at design-time, or set it to Unit.Empty at runtime. The grid will now adjust its width according to the width of its contents, and thus will not display a horizontal scrollbar. As with the vertical scrollbar, if the grid becomes too wide to fit in its container, the container will display its own horizontal scrollbar as usual.I cannot accomplish that! :(
Thanks,
Did you try the article instead of height=0%? Thanks.