How to disable autogrowing of the field in JEditable? -
i have been developing application , use following code jeditable:
<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) { } }); });
i need disable autogrowing of field in order if user moves on fields field won't grow. field grows if user moves on it. need it, please help. thank much.
i have used success
width : '100%' parameter. give try.
<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) { } }); });
Comments
Post a Comment