0

行を編集するためのフォーマッター編集ボタンがあり、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
                },

編集ボタンをクリックすると、行にインライン版がありますが、編集フォームを表示する必要があります。

どうすればいいですか?

よろしく

4

1 に答える 1

0

formatter: "actions"editformbutton: true使用できるオプションをサポートします。の追加プロパティとして含める必要がありますformatoptions。このオプションはインライン編集の場合にのみ使用されるためkeys:true、ケースから削除できます。formatoptions

于 2013-01-10T10:55:13.767 に答える