Hide colums in user_columns

1 view
Skip to first unread message

phorcys

unread,
Jul 14, 2008, 4:20:20 AM7/14/08
to Streamlined
How can I hide some columns by using user_columns

now I have a table like:
personinfo first_name:string last_name:string age:integer

I want to hide "age" column ,now I do this by

Streamlined.ui_for(Personinfo) do
user_columns :first_name,:last_name
end

But this table will have more columns in the future ,is there anyway
that i can exclude columns?
Thank you very much.
Reply all
Reply to author
Forward
0 new messages