EasyUI Forum
May 16, 2024, 08:24:53 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid textbox multiline  (Read 8036 times)
jaimi
Full Member
***
Posts: 119


View Profile
« 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         
    } 
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 30, 2014, 12:12:19 AM »

Please try this:
Code:
editor:{
    type:'textbox',
    options:{
        multiline:true,
        prompt:'Beschreibung...',
        height:40
    }
}
Logged
jaimi
Full Member
***
Posts: 119


View Profile
« Reply #2 on: December 30, 2014, 02:32:45 AM »

thx Smiley
Logged
ben
Newbie
*
Posts: 1


View Profile Email
« Reply #3 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!