Jeditable 如何禁用表格中字段的自动签名?

Jeditable 如何禁用表格中字段的自动签名?,jeditable,Jeditable,我一直在开发该应用程序,并使用以下代码创建该表: <script type="text/javascript" charset="utf-8"> $(function() { $(".field").editable("http://"+document.location.host+"/index.php/welcome/update_record", {

我一直在开发该应用程序,并使用以下代码创建该表:

<script type="text/javascript" charset="utf-8"> 
        $(function() 
        {  
             $(".field").editable("http://"+document.location.host+"/index.php/welcome/update_record", 
             { 
                event  : "mouseover",
                style  : "inherit",
                autogrow: {
                    lineHeight : 0,
                    maxHeight : 0
                },
                submitdata: function (value, settings) {
                            return { "old_value": this.revert};
                },
                callback: function(value, settings) 
                {
                }
            });  
        });

$(函数()
{  
$(“.field”).editable(“http://“+document.location.host+”/index.php/welcome/update_record”,
{ 
事件:“鼠标悬停”,
风格:“继承”,
自动增长:{
线宽:0,
最大高度:0
},
submitdata:功能(值、设置){
返回{“old_value”:this.revert};
},
回调:函数(值、设置)
{
}
});  
});

我需要禁用该字段的自动增长,以便如果用户在字段上移动,则该字段将不会增长。现在,若用户在该字段上移动,该字段将增长。我需要它,请帮忙。多谢各位

我成功地使用了

宽度:“100%”作为参数。试试看

<script type="text/javascript" charset="utf-8"> 
        $(function() 
        {  
             $(".field").editable("http://"+document.location.host+"/index.php/welcome/update_record", 
             { 
                event  : "mouseover",
                width     : '100%'
                style  : "inherit",
                autogrow: {
                    lineHeight : 0,
                    maxHeight : 0
                },
                submitdata: function (value, settings) {
                            return { "old_value": this.revert};
                },
                callback: function(value, settings) 
                {
                }
            });  
        });

$(函数()
{  
$(“.field”).editable(“http://“+document.location.host+”/index.php/welcome/update_record”,
{ 
事件:“鼠标悬停”,
宽度:“100%”
风格:“继承”,
自动增长:{
线宽:0,
最大高度:0
},
submitdata:功能(值、设置){
返回{“old_value”:this.revert};
},
回调:函数(值、设置)
{
}
});  
});