EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: cdtuql on January 05, 2015, 10:29:38 PM



Title: text type editor's height is too samll than line height in editable datagrid
Post by: cdtuql on January 05, 2015, 10:29:38 PM
in editable datagrid ,the editor of combobox 's height is right,but the text type's height  is too small than the line height,how can i do
editor:{type:'text',options:{panelHeight:'auto'}} ,the height is too samll,
but
 editor:{type:'combobox',options:{.....   }} is all right

the version is 1.4.1 with the setValue patch.
                                                                                                          


Title: Re: text type editor's height is too samll than line height in editable datagrid
Post by: Opan Mustopah on January 10, 2015, 11:44:43 PM
try to set height properties in editor:

Code:
editor:{
  type:'textbox',
    options:{
      height: 50 // set height with what you want
    }
}
hope it helps