jQuery EasyUI DataGrid autosave

HTML

<h2>Empty DataGrid Problem</h2>

<div id="tabs" class="easyui-tabs" style="height:300px;">
    <div data-options="iconCls:''" title="testtab" style="padding:12px;">
        <table id="dg"></table>
    </div>
</div>

CSS

</style> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css"> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/demo/demo.css"> <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script> <script type="text/javascript" src="http://patchajs-site.orionhub.org:8000/patcha.js"></script> <style>

JavaScript

$(function(){
    var dg = $('#dg').datagrid();
    
    dg.datagrid({
		title:"Test DataGrid",
	    fit:true,
	    rownumbers: true, //*** if true then the row is shown ***
        //data: [],
        
        columns:[[
          	{field:'row1', title: 'row1', width: 100,
                styler: function(value,row,index){
                    if (index == 0){
					    return 'background-color:red;color:red;';
                    }
				}
            },  
          	{field:'row2', title: 'row2', width: 100, sortable:true},  
          	{field:'row3', title: 'row3', width: 100, sortable:true},  
          	{field:'row4', title: 'row4', width: 100, sortable:true},  
          	{field:'row5', title: 'row5', width: 100, sortable:true},  
          	{field:'row6', title: 'row6', width: 100, sortable:true},  
          	{field:'row7', title: 'row7', width: 100, sortable:true},  
          	{field:'row8', title: 'row8', width: 100, sortable:true},  
          	{field:'row9', title: 'row9', width: 100, sortable:true},  
          	{field:'row10', title: 'row10', width: 100, sortable:true},  
          	{field:'row11', title: 'row11', width: 100, sortable:true},  
      	]],
        // change row style of datagrid component on some condition
	    rowStyler:function(index, row) {
	        if (index == 0){
	            return 'background-color:yellow;color:blue;font-weight:bold;';
	        }
	    }	
	});
});