我用jqgrid做了个表格
function ProReleForm(data) {
var obj = {
height: 330,
wrap: true,
width: '100%',
flexWidth: false,
flexHeight: false,
selectionModel: {type: "none"},
scrollModel: {pace: "fast", horizontal: true, vertical: false, autoFit: false},
numberCell: false,
editable: false,
sortable: false,
bottomVisible: false,
}; //显示数据配置 obj.colModel = [{title: "拟定人", dataIndx: "APPLYNAME", resizable: false, align: "center", width: 50},
{title: "档案编号", dataIndx: "FILENO", resizable: false, align: "center", width: 150},
{title: "关联表单号", dataIndx: "FORMNO", resizable: false, align: "center", width: 100},
{title: "单据类型", dataIndx: "TYPE", resizable: false, align: "center", width: 100},
{title: "表单标题", dataIndx: "TITLE", resizable: false, align: "center", width: 250},
{title: "拟定时间", dataIndx: "APPLYDATE", resizable: false, align: "center", width: 150},]; obj.dataModel = {
data: awsui.decode(data),
showRpp: false,
location: "local",
sorting: "local"
};
var $releForm = $("#releForm").awsGrid(obj);
}
页面上的效果是这样的我想给每一行或者每一列加上点击事件。。常用的jq方法不管用,有大佬知道怎么改吗
function ProReleForm(data) {
var obj = {
height: 330,
wrap: true,
width: '100%',
flexWidth: false,
flexHeight: false,
selectionModel: {type: "none"},
scrollModel: {pace: "fast", horizontal: true, vertical: false, autoFit: false},
numberCell: false,
editable: false,
sortable: false,
bottomVisible: false,
}; //显示数据配置 obj.colModel = [{title: "拟定人", dataIndx: "APPLYNAME", resizable: false, align: "center", width: 50},
{title: "档案编号", dataIndx: "FILENO", resizable: false, align: "center", width: 150},
{title: "关联表单号", dataIndx: "FORMNO", resizable: false, align: "center", width: 100},
{title: "单据类型", dataIndx: "TYPE", resizable: false, align: "center", width: 100},
{title: "表单标题", dataIndx: "TITLE", resizable: false, align: "center", width: 250},
{title: "拟定时间", dataIndx: "APPLYDATE", resizable: false, align: "center", width: 150},]; obj.dataModel = {
data: awsui.decode(data),
showRpp: false,
location: "local",
sorting: "local"
};
var $releForm = $("#releForm").awsGrid(obj);
}
页面上的效果是这样的我想给每一行或者每一列加上点击事件。。常用的jq方法不管用,有大佬知道怎么改吗
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货