Forum OpenACS Q&A: ad_table settings for columns

Collapse
Posted by abbas beginner on
Hi,

just wondering if there is anyway to represent a single table column from the databse , into 2 ad_table colums,

what im trying to do is split a single column of hits from the DB into a twin column of a html table on the page

hope that makes sense

thanks in advance

Collapse
Posted by Antonio Laterza on
Can you post a snippet of code?
Maybe an example might clarify the question.
Collapse
Posted by Chris Davies on
I think what you're looking for MIGHT be grid?

https://openacs.org/doc/acs-templating/tagref/grid.html

Allows you to take a db_multirow and place it into a 'newspaper' column.

i.e.

1 6
2 7
3 8
4 9
5

Collapse
Posted by abbas beginner on
yeah,

the grid looks like exactly what i need

although, does that mean we cannot tweak settings of ad_table to do this ?

thanks