Re: How to create a grid

"Charles Goodwin" <[email protected]> Wed, 30 Jul 2003 15:24:26 -0000 (GMT)
Newsgroups gmane.comp.java.xwt.widgets
Message-ID <[email protected]>
> It will use a nice, xwt box structure, being defined:
>
> <grid>
>   <row>
>     <col />
>     <col />
>   </row>
>   <row>
>     <col />
>     <col />
>   </row>
> </grid>

Actually, thinking about it, it is more logical to use:

<grid>
   <col>
      <row>
   </col>
</grid>

Although this challenges the html table-tr-td approach, it is preferrable
from an XWT rendering perspective in that there's going to usually be a
far greater number of columns than there is rows.  It would be quicker to
sync a few rows than 100s or 1000s of columns.

- Charlie

The future of webapps - www.xwt.org