5

Suppose that I have this table tab, which I display using Grid. Is it possible to force the columns to be equally spaced? All columns should be the same width and no data should be discarded/hidden from view.

tab = {{"aaaa", "b"}, {"1", SpanFromLeft}, {"2", SpanFromLeft}, {"3", SpanFromLeft}};
Grid[tab, Frame -> {None, None, {{1, 1} -> True, {1, 2} -> True}}]

gridcolumn

Andrew
  • 10,569
  • 5
  • 51
  • 104
  • 2
    You don't have to edit just to say you take that back... you can actually take that back by editing it out ;) – rm -rf Jul 23 '12 at 18:27

1 Answers1

7
Grid[tab, Frame -> {None, None, {{1, 1} -> True, {1, 2} -> True}}, ItemSize -> All]

Mathematica graphics

Dr. belisarius
  • 115,881
  • 13
  • 203
  • 453