var p = $('#dg').datagrid('getPanel'); // get the panel objectp.panel('setTitle', 'new title'); // change title information