0
使用edittype时可以根据所选值禁用或启用子网格:“select”?如何在使用edittype时启用或禁用jqgrid中的子网格:基于选定的值进行选择
基本上它看起来像这样
dataEvents: [
{
type: 'change',
fn: function(e) {
var thisval = $(e.target).val();
if (thisval == 'A') {
// enable subgrid
}
else {
// disable subgrid
}
}
}]