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

Popular posts from this blog

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -