Adding buttons in Datagrid

Am currently creating a data grid in which each rows needs to have a link to open a file… Can somebody plz help me with CellRenderer class or post a sample code for the same…