EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jaimi on December 29, 2014, 11:35:49 PM



Title: datagrid textbox multiline
Post by: jaimi on December 29, 2014, 11:35:49 PM
How can I define a textbox within a datagrid as multline with the nessecary heigth?

does not work:

,{field:'NWS_DES',title:'Beschreibung',width:410,height:20,sortable:'true',multiline:true
     ,editor:{ type:'textbox'
              ,options:{ required:false
                     ,multiline:true
                     ,prompt:'Beschreibung...'
                  ,missingMessage: 'Geben Sie die Beschreibung ein.'
                  }
          }//editor
    ,formatter: function(value,row,index){return value;}//formatter         
    } 


Title: Re: datagrid textbox multiline
Post by: stworthy on December 30, 2014, 12:12:19 AM
Please try this:
Code:
editor:{
    type:'textbox',
    options:{
        multiline:true,
        prompt:'Beschreibung...',
        height:40
    }
}


Title: Re: datagrid textbox multiline
Post by: jaimi on December 30, 2014, 02:32:45 AM
thx :)


Title: Re: datagrid textbox multiline
Post by: ben on June 11, 2016, 07:20:59 AM
I'm new in JeasyUI, can you provide complete sample for datagrid textbox multiline.
I try in edatagrid but still notworking.

Thanks

Ben