var head = $('#ClassManagement').datagrid("options").columns; var fhead=$('#ClassManagement').datagrid('options').frozenColumns;