You can do it in the edit view settings. Is it possible to take thecode from that and make it a web part?