The datagrid extends from panel. All the properties of panel can be used in datagrid. To apply tools to the datagrid header, create datagrid with 'tools' property definition.
$('#CurriculumVitaePanel').datagrid({
width:500,
height:150,
title:'My Panel',
tools:[{
iconCls:'icon-add',
handler:function(){alert('new')}
},{
iconCls:'icon-save',
handler:function(){alert('save')}
}]
});