4 5x7 DOT MATRIX DISPLAY

I try to connect all the column to 74hc595, what should i do with the rows? http://www.arduino.cc/en/Tutorial/ShiftOut say connect all to ground ?