By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,148 Members | 748 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,148 IT Pros & Developers. It's quick & easy.

Scrollable Grid

P: n/a
I was just looking at a site that had scrollable grids and was wondering how
that is done?

It was an aspx page, but I have only seen Datagrids that were
non-scrollable. You can page a grid but I have never seen an option to make
a grid scrollable.

Does anyone know how that is done?

Thanks,

Tom
Sep 5 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"tshad" <tf*@dslextreme.comwrote in message
news:ui**************@TK2MSFTNGP04.phx.gbl...
>I was just looking at a site that had scrollable grids and was wondering
how that is done?

It was an aspx page, but I have only seen Datagrids that were
non-scrollable. You can page a grid but I have never seen an option to
make a grid scrollable.

Does anyone know how that is done?
http://www.google.co.uk/search?sourc...iew+scrollable
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 5 '07 #2

P: n/a
The primary trick is to put the gridview inside a DIV tag that has a height
and an overflow-y:scroll so that it creates a scroll bar, so the gridview
itself doens't do the scrolling. If you want to have the headers in a fixed
position above the scrolling gridview you copy the header row with
javascript. There is a good example here, i've done it before based on this
logic.

http://www.codeproject.com/useritems...ngGridView.asp

john

"tshad" <tf*@dslextreme.comwrote in message
news:ui**************@TK2MSFTNGP04.phx.gbl...
>I was just looking at a site that had scrollable grids and was wondering
how that is done?

It was an aspx page, but I have only seen Datagrids that were
non-scrollable. You can page a grid but I have never seen an option to
make a grid scrollable.

Does anyone know how that is done?

Thanks,

Tom

Sep 5 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.