Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: HTML Tables to display data
That seemed to drastically speed up the loading of the page. I used a
conditional statement that was triggered every 20 rows of data, then I
printed the </table><table>. I was very happy with the load time, but I ran
into another problem and this one I am at the mercy of Netscape. The tables
are all different dimensions depending on the data that is inside of the
cells. I tried to use WIDTH to predefine the cells, but it was no good. I
wished that there was a way in HTML to say 'I want this in that column#'
These html tables change depending on the data within, there is no way to
hardcode them so that they never change no matter what the data looks like.
Or atleast, I haven't found a way to combat this. Do you or anyone else know
how to resolve this problem with HTML?
Christopher Beck wrote:
> On Tue, 08 Sep 1998 17:08:22 -0400, Kevin Kirkpatrick <kjk_at_hrb.com>
> wrote:
>
> >This question doesn't really relate to Oracle directly but I figure that
> >many of you may have run into this problem. I am developing a Web
> >interface to an Oracle database. One of the Oracle tables I am querying
> >has over half a million rows of data. My problem is that when I go to
> >query the table, it is very possible for the result to be 500+ rows of
> >data if not more. I used HTML tables to print out the data but Netscape
> >practically chokes when it tries to create it, it takes forever. Is
> >there some other way that I can display this large amount of data but
> >still maintain that column format? Another way to avoid <TABLE>?
> >
>
> The reason Netscape takes a long time is that it need to determine the
> table column sizes and that can not be done until it gets the last
> row. I have tried two different ways to avoid the long load problem.
> Each works fine for different situations.
>
> 1. Open the HTML table and columns with specific sizes. Then after
> about 20-30 rows close the table and open another one with the same
> size. Netscape will then be able to draw many smaller tables faster
> or at least it appears faster since the first table appears quickly.
>
> 2. Do the formatting yourself and stick the whole thing inside
> <pre></pre> tags.
>
> chris.
>
> >Thanks in advance...
> > Kevin
> >
Received on Wed Sep 09 1998 - 12:51:19 CDT