Restricting list output (newbie)


#1

i have a table with 5 columns, but i only want to display 3 columns with
“list.rhtml”.

what´s the best way to do this?


#2

patrick wrote:

i have a table with 5 columns, but i only want to display 3 columns with
“list.rhtml”.

what’s the best way to do this?

If the list.rhtml is the standard generated scaffolding, try outputting
the three columns directly (via item.colname) instead of using the for
loop.