Because time is very tight, have 2 days also didn't figure out, please help to solve it, thank you very much!
The following is a part of my source code:
The function GetGrid () {
$(" # gridTable "). JqGrid ({
Url: "@ url. Content (" ~/CommonModule EpcQuery/TreeGridListJson") ",
Datatype: "json",
The treeGrid: true,
TreeGridModel: "nested",
Wbs_name ExpandColumn: ", "
ExpandColClick: true,
Height: $(window). Height () - 77,
Autowidth: true,
Mtype: "POST",
ColModel: [
{label: 'wbs_id, name:' wbs_id 'index:' wbs_id, width: 1, hidden: true, key: true},
{label: 'the WPS, name:' wbs_name 'index:' wbs_name, width: 280},
{label: 'operation code, name:' task_code, index: 'task_code, width: 80, align: "right"},
{label: 'job name, name:' task_name, index: 'task_name, width: 80, align: "right"}
],
onSelectRow: function (id) {
Var wbsid=GetJqGridValue (" # gridTable ", id, "wbs_id");
//alert (wbsid); Don't know how to implement here, you need to determine whether there is a child node data
},
Pager: "false",
RowNum: 1000,
//rownumbers: true,
ShrinkToFit: false
});
# gridTable columnModelData (" ");
}
</script>
Anxious to reply, thank you very much!!!!!!
CodePudding user response:
The original poster out yet, and popularityCodePudding user response:
Certainly had something to do with eventsCodePudding user response:
The building Lord this effect is achieved? Popularization, do this effect, I don't know how to do