http://www.purl.org/tcl/home/man/tcl8.4/TkCmd/grid.htm
Grid is one of several Geometry Managers. Some others are pack and place.
For a simple example, see A little spreadsheet.
Tk syntax help - Arts and crafts of Tcl-Tk programming - Category Command