What's the correct way to form a table of buttons in which each action depends on the index in the table? E.g., I want to get
but the obvious attempt
fails because the second argument of Button is held.
What's the idiomatic way to do this?