//缩放和布局 $(window).resize(function () { $('#BZ_Content').datagrid('resize', { getWidth(1),height: getheight(1) }) });