$('#dg').datagrid() 为什么不能执行,页面不显示easy ui布局

lastnamefirstnamephoneemail

        $(function () {

            $('#dg').datagrid();
            var pager = $('#dg').datagrid('getPager');    // get the pager of datagrid

            pager.pagination({
                buttons: [{
                    iconCls: 'icon-search',
                    handler: function () {
                        alert('search');
                    }
                }, {
                    iconCls: 'icon-add',
                    handler: function () {
                        alert('add');
                    }
                }, {
                    iconCls: 'icon-edit',
                    handler: function () {
                        alert('edit');
                    }
                }]
            });
        })</script>

你看下你的jquery easy ui的js和css的引用顺序,http://blog.csdn.net/chinacsharper/article/details/39523053