I am new to programming, and have yet to figure out a way to do this...
I have a table of data (that can be upwards of 1000 entries). I have that being output into an IFrame and all the columns are aligned with another table (outside the frame) that acts as the header (that way it is always at the top as I scroll through the data).
My problem is, the table is wider than the screen and so you have to scroll horizontally to get to the vertical scroll bar for the IFrame. I want to make the vertical scrollbar appear for the iframe, and the horizontal scroll bar still affect both the table data and the header.
Does that make any sense at all?
Let me try to illustrate...(I'm NOT an artist!)
Left Edge of Screen End of Table
|-----------------------------------|--------------------|
|Header |Header |Header |Header |Header |Header |
|-----------------------------------|--------------------|
-----------------------IFRAME------------------------------
| |Data |Data |Data |Data |Data |Data | S |
| |--------|--------|-------|-------|--------|--------| C |
| |Data |Data |Data |Data |Data |Data | R |
| |--------|--------|-------|-------|--------|--------| O |
| |Data |Data |Data |Data |Data |Data | L |
| |--------|--------|-------|-------|--------|--------| L |
| |Data |Data |Data |Data |Data |Data | B |
| |--------|--------|-------|-------|--------|--------| A |
| |Data |Data |Data |Data |Data |Data | R |
-----------------------------------------------------------
SCROLLBAR
-----------------------------------------------------------
Hope that explains my problem a little better...
Thanks...
I have a table of data (that can be upwards of 1000 entries). I have that being output into an IFrame and all the columns are aligned with another table (outside the frame) that acts as the header (that way it is always at the top as I scroll through the data).
My problem is, the table is wider than the screen and so you have to scroll horizontally to get to the vertical scroll bar for the IFrame. I want to make the vertical scrollbar appear for the iframe, and the horizontal scroll bar still affect both the table data and the header.
Does that make any sense at all?
Let me try to illustrate...(I'm NOT an artist!)
Left Edge of Screen End of Table
|-----------------------------------|--------------------|
|Header |Header |Header |Header |Header |Header |
|-----------------------------------|--------------------|
-----------------------IFRAME------------------------------
| |Data |Data |Data |Data |Data |Data | S |
| |--------|--------|-------|-------|--------|--------| C |
| |Data |Data |Data |Data |Data |Data | R |
| |--------|--------|-------|-------|--------|--------| O |
| |Data |Data |Data |Data |Data |Data | L |
| |--------|--------|-------|-------|--------|--------| L |
| |Data |Data |Data |Data |Data |Data | B |
| |--------|--------|-------|-------|--------|--------| A |
| |Data |Data |Data |Data |Data |Data | R |
-----------------------------------------------------------
SCROLLBAR
-----------------------------------------------------------
Hope that explains my problem a little better...
Thanks...