EasyUI Forum
April 26, 2024, 02:29:34 PM *
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 frozencolumns beaks the datagrid rows  (Read 9892 times)
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« 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.
« Last Edit: December 09, 2014, 07:39:45 AM by Stefan B. » Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: December 09, 2014, 08:09:54 AM »

Please show an example or a link page to demonstrate your issue.
Logged
gordis gmbh
Full Member
***
Posts: 103


View Profile Email
« Reply #2 on: December 17, 2014, 08:52:27 AM »

Please see the problem here: http://jsfiddle.net/wg795job/

Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #3 on: December 17, 2014, 08:11:36 PM »

Please try this updated example http://jsfiddle.net/wg795job/2/
Logged
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« Reply #4 on: December 18, 2014, 01:18:37 AM »

Thanks. This code fix the datagrid problem

Code:
  
     onResize:function(){
            $('#dg').datagrid('fixRowHeight');
     },
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!