EasyUI Forum

General Category => Bug Report => Topic started by: Stefan B. on December 09, 2014, 07:35:40 AM



Title: datagrid frozencolumns beaks the datagrid rows
Post by: Stefan B. on December 09, 2014, 07:35:40 AM
We have an simple datagrid with one frozen column and 1 column with an text field.
In this text field there are line breaks, so that the row should show the complete text.

But after loading the data (or reload the table data) the rows are broken. --> See the attachment 1.

But when refresh with pagination button, the table rows are fine! --> See the attachment 2.


Title: Re: datagrid frozencolumns beaks the datagrid rows
Post by: jarry on December 09, 2014, 08:09:54 AM
Please show an example or a link page to demonstrate your issue.


Title: Re: datagrid frozencolumns breaks the datagrid rows
Post by: gordis gmbh on December 17, 2014, 08:52:27 AM
Please see the problem here: http://jsfiddle.net/wg795job/ (http://jsfiddle.net/wg795job/)



Title: Re: datagrid frozencolumns beaks the datagrid rows
Post by: jarry on December 17, 2014, 08:11:36 PM
Please try this updated example http://jsfiddle.net/wg795job/2/


Title: Re: datagrid frozencolumns beaks the datagrid rows
Post by: Stefan B. on December 18, 2014, 01:18:37 AM
Thanks. This code fix the datagrid problem

Code:
  
     onResize:function(){
            $('#dg').datagrid('fixRowHeight');
     },