how would you get vertical bars on the matrix using dividers?

How would you get vertical bars on the matrix
Grid[{{1, 2}, {3, 4}}, Dividers ->]

What about

Grid[{{1, 2}, {3, 4}}, Dividers -> {All, False}]

fot horizontal only or

Grid[{{1, 2}, {3, 4}}, Dividers -> All]

or

Grid[{{1, 2}, {3, 4}}, Frame -> All]

for all dividers?

Cheers,

Marco

How would you put vertical bars on the outside of the matrix in place of the parentheses

Something like this?

\[LeftBracketingBar]{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}} // Grid\[RightBracketingBar]

The lines can be generated with

http://reference.wolfram.com/language/ref/character/LeftBracketingBar.html

and

http://reference.wolfram.com/language/ref/character/RightBracketingBar.html

You can also use the Basic Math Assistant Palette.

Cheers,

Marco