表单高度调整

var height=$(document.body).height()-95; //表单页面高度设置
height:height,	//调用高度并赋值

注:上述代码写在

 $(function() {
        	var height=$(document.body).height()-95; //表单页面高度设置
            var options = {
            	height:height,	//调用高度并赋值
                url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                modalName: "节目",
                columns: [{
                    checkbox: true
                },
                {
                    field : 'id', 
                    title : '主键',
                    visible: false
                },

你可能感兴趣的:(html,js,javascript)