• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Regarding Scrollable Table

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I believe you guys can help me out with an idea on achieving what i want

Ok i have a Scrollable Table, achieved using the following CSS code:



And in the JSP, to have a scrollable Table i will have something like..

<div class="tableContainer" >
<table>
...
...
</table>
</div>

I am ok with CSS but not an expert, Is there a way like say if there are 200 rows in table,
I can have the scroll bar some where positioned at 100th row or something like that,...
I mean using CSS, move the scroll bar ?? Can that be done?

Presently when the page loads The table displays from the top rows as expected.. can i have the scrollbar positioned anywhere i want ?

Thanks a lot, I appreciate
[ October 31, 2008: Message edited by: Bear Bibeault ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well you probably would have to set the scrollTop with JavaScript when the page loads.

Eric
 
prasad agarwal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eric,

Man, thank you soooo much; i got it working as how i wanted
 
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic