Date: Dec 11, 2012 2:24 AM
Author: marco.scarnicchia@gmail.com
Subject: Dynamic Table

Hi,

I have a complex program and now I need to convert a table with dynamic content into a table or matrix with static content:

n = 2;
Parameters =
Table[{{PopupMenu[Subscript[\[Theta],
i], {0, Subscript[q, i], -2 Pi, -3 Pi/2, -Pi, -Pi/2, Pi/2, Pi,
3 Pi/2, 2 Pi}]}, {PopupMenu[Subscript[d,
i], {0, Subscript[d, i], Subscript[q, i]}]},

{PopupMenu[Subscript[\[Alpha],
i], {0, -2 Pi, -3 Pi/2, -Pi, -Pi/2, Pi/2, Pi, 3 Pi/2,
2 Pi}]}, {PopupMenu[Subscript[a,
i], {0, Subscript[a, i]}]}}, {i, n}]; Text@
Grid[Prepend[
Parameters, {"\!\(\*SubscriptBox[\(\[Theta]\), \(i\)]\)",
"\!\(\*SubscriptBox[\(d\), \(i\)]\)",
"\!\(\*SubscriptBox[\(\[Alpha]\), \(i\)]\)",
"\!\(\*SubscriptBox[\(a\), \(i\)]\)"}], Frame -> All]


Thanks