• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Problem with DIV

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
Thanks in advance.
I have more than 100 rows and more than 15 columns, but my page width is 759 only, using DIV tag i am displaying the records with Vertical and Horigantal scroll bars.My problem is,
If i drag Horizantal scroll bar w.r.to that column headings are also moving which is correct but it is happening with Vertical scroll bar also which means headings also moving.
I need GRID kind of things, i found some thing useful in ActiveWidgets, but which is Licenced version which is not preferable in my environment, i need some idea/logic.
Please help me in this.

Regards,
Sreedhar
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sridhar,
I actually failed to understand, what do mean by "columns are moving", when you are dragging the H-scroll bar!!!Normally, in applications, we use to fix-set the columns headings, so if user wants to go down the page, the Column headings still be displayed, above records, in a proper way.
Please clarify a bit more, so we can understand each-other better.
 
sridhar lakka
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot.
Columns are moving means,Columns headings are moving.
Please see below

h1 h2 h3 h4 h5 h6 h7 h8 h9 10
a b c v v v v v v vv
a b c v v v v v v vv
a b c v v v v v v vv
a b c v v v v v v vv
a b c v v v v v v vv

As my width is 759 , at the time of loading i can see only first 7 upto h6,and i have more than 100 records at the time of page loading i can see 50 rows ,if i want to see next 50 i have to scroll, if scroll column headings are moving (h1,h2,h3...).If i fix these means if i write in different Div tag , then there is a problem with vertical scroll.
Please give me some example.
Regards,
Sreedhar
 
Ranch Hand
Posts: 40
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think there is no way to scroll the table body while keeping the table heading in place. If you place the table heading in one frame and the table body in another, you cannot guarantee they will align. I think the solution is to implement some kind of pagination logic instead of dump all the contents to the browser because at some point of data volume, the browser will fails.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic