3.2.0

2 grids side by side

Is there a way to get two grids on the same page side by side, instead of one on top of the other, without using iframes or absolute positioning?
April 4,
Yes, please look in /examples/grid directory of the distribution package, the file is called 'two grids on one page.htm'
Alex (ActiveWidgets)
April 4,

ehm...
"side by side", alex. :-)
on the example there are "one on top of the other".
i think a solution would be using a table.
something like:

<table>
  <tr>
    <td>
<script language="JavaScript">
<!--
    document.write(objGrid1);
//-->
</script>
    </td>
    <td>
<script language="JavaScript">
<!--
    document.write(objGrid2);
//-->
</script>
    </td>
  </tr>
</table>


but i don't have tried.

have a nice day.
mirko
April 5,
Thanks, that does work but I was trying to do it without using tables for layout. It seems that there is a <br> (or something similar at the end of the table code) which prevents me from doing it.
April 6,
You might be able to put each in a <div> tag, and then setting the style for each tag to have:

display: inline;
Chris Hoult
April 7,
You would think that would work but it doesn't seem to :(
April 7,
Div by default are "blocks" therefore they have implicit <BR>'s after them. So, as far as I know the best way to get the side by side grids would be to use the table suggestion above.
Frank Gualtieri
August 30,
Don't use tables. Put the grids in DIV's, then set DIV's "position" style to "absolute" and then place the DIV's anywhere on the page you want. Basic CSS 101.
Jim Hunter
August 30,

This topic is archived.

See also:


Back to support forum