Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 显示编辑表单而不是内联编辑_Jquery_Jqgrid - Fatal编程技术网

Jquery 显示编辑表单而不是内联编辑

Jquery 显示编辑表单而不是内联编辑,jquery,jqgrid,Jquery,Jqgrid,我有一个格式化程序编辑按钮来编辑一行,我在conModel中定义了它 colModel:[ {name:'HOSTID', index:'HOSTID', width:120, editable: true, editoptions:{size:"15", maxlength:"10"}}, {name:'NAME', index:'NAME', width:250}, {name:'DOCUMENT', index:'DOCUMENT',

我有一个格式化程序编辑按钮来编辑一行,我在conModel中定义了它

colModel:[ 
        {name:'HOSTID', index:'HOSTID', width:120, editable: true, editoptions:{size:"15", maxlength:"10"}}, 
        {name:'NAME', index:'NAME', width:250}, 
        {name:'DOCUMENT', index:'DOCUMENT', width:75, editable: true, editoptions:{size:"15", maxlength:"15"}},
        {name:'IDMUREX', index:'IDMUREX', width:80, editable: true, editoptions:{size:"15", maxlength:"4"}},
        {name:'TYPE', index:'TYPE', width:60, formatter: 'select',
            edittype: 'select', align: 'center', editable: true, 
            editoptions: {value: 'T:<bean:message bundle="mantenimiento" key="titularidad.titularalto"/>;C:<bean:message bundle="mantenimiento" key="titularidad.cotitularalto"/>', defaultValue: ''}},
        {name: 'ACTIONS', width:50, fixed:true, sortable:false, search:false, resize:false, formatter:'actions', 
            formatoptions:{
                keys:true,
                editOptions: {
                    modal: true,
                    width: 'auto',
                    closeAfterEdit: true,
                    closeOnEscape: true,
                    recreateForm: true
                },
colModel:[
{名称:'HOSTID',索引:'HOSTID',宽度:120,可编辑:true,可编辑选项:{size:“15”,maxlength:“10”},
{名称:'name',索引:'name',宽度:250},
{名称:'DOCUMENT',索引:'DOCUMENT',宽度:75,可编辑:true,可编辑选项:{size:'15',maxlength:'15},
{名称:'IDMUREX',索引:'IDMUREX',宽度:80,可编辑:true,可编辑选项:{size:“15”,maxlength:“4”},
{名称:'TYPE',索引:'TYPE',宽度:60,格式化程序:'select',
编辑类型:“选择”,对齐:“居中”,可编辑:true,
editoptions:{value:'T:;C:',defaultValue:'}},
{name:'ACTIONS',width:50,fixed:true,sortable:false,search:false,resize:false,formatter:'ACTIONS',
格式选项:{
凯斯:没错,
编辑选项:{
莫代尔:是的,
宽度:“自动”,
closeAfterEdit:true,
closeOnEscape:没错,
重新创建表单:true
},
当我点击编辑按钮时,行上有内联编辑,但我需要显示编辑表单

我怎么能做到

关于

格式化程序:“操作”
支持您可以使用的
editformbutton:true
选项。您只需将其作为
formatoptions
的附加属性包含在内。您可以从
formatoptions
中删除
键:true
,因为该选项仅在内联编辑的情况下使用