Toggle visibility of Group

37 views
Skip to first unread message

florian tobé

unread,
Feb 17, 2012, 5:49:27 AM2/17/12
to rails_admin
Hi every one

I have two groups in the navigation menu
One must be seen
Second is called parameters and I'd like user to click on it to
display objects.

How can I achieve this ?

What about doing this for groups inside edit/show

something like :

config.model navigation_group :params do
toggle true
visible false
end

and

same same but different for groups

config.model Colors do
navigation_group :params
edit do
field header do
toggle true
visible true
end
end
end

yéyéah :))

Benoit Bénézech

unread,
Mar 5, 2012, 5:24:51 AM3/5/12
to rails...@googlegroups.com
You can now use the :active option.

active true => toggle opened
active false => toggle closed

flo

unread,
Mar 20, 2012, 1:47:15 AM3/20/12
to rails...@googlegroups.com
Thanks for that !

Can we do the same things for navigation_label (sort and toggle) ? Would be great !

By the way, you're so helpful ! I promise that every single answer you'll provide will be entered in the wiki if not already (I usually digg it widely before asking)
Reply all
Reply to author
Forward
0 new messages