Portal Engine
Version 2.x > Portal Engine > Best way to implement two datalists in a table View modes: 
User avatar
Member
Member
Chunda - 5/23/2007 6:46:21 PM
   
Best way to implement two datalists in a table
I am looking to see if there is a better way of implementing two lists within a table.

I want a table like the following:

<table>
<tr><th>News</th><th>Events</th></tr>
<tr><td>List of news</td><td>List of events</td></tr>
</table>

I have created it by breaking it into the following webparts:

Static HTML for the heading as:
<table>
<tr><th>News</th><th>Events</th></tr>
<tr><td>

List showing News with a transform giving a <ul> of the items.

Static HTML separator </td><td>

List showing Events with a transform giving an <ul> of the items.

Static HTML to finish </td></tr></table>

Is there a more elegant way to do this?

Thanks
Chunda