EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Pierre on April 10, 2016, 01:23:38 AM



Title: [SOLVED] Datagrid set nowrap dynamically?
Post by: Pierre on April 10, 2016, 01:23:38 AM
Hello all
I try to set datagrid nowrap dynamically but it does not work for me (by default it is set to true) and then I'm using this code:

Code:
  $('#dg').datagrid({
    nowrap:false
  });  

I expect to see multiline in the grid but it does still show one line.
Thank you.


Title: Re: Datagrid set nowrap dynamically?
Post by: Pierre on April 11, 2016, 07:39:13 AM
it works perfect after I call
Code:
$('#dg').datagrid('reload'); 

 ;D