EasyUI Forum
December 08, 2025, 03:04:33 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: NOn alignment of Header and row cells in datagrid  (Read 9586 times)
vforiso
Newbie
*
Posts: 1


View Profile Email
« on: October 18, 2012, 10:19:27 AM »

I am using the datagrid for a table data. The json is being generated using a struts action class which returns data of type JSON.
The functionality is working fine.
However the alignment between headers and the row cells are off. When I using the datagrid in a stand alone html and populate the data from a .json file, the alignment is fine.
The screen shot is as below.



Please help.


Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 18, 2012, 04:08:19 PM »

Avoid dumplicate creating datagrid when retrieve data from html table. If you have a class=easyui-datagrid attribute on a table, donnot call .datagrid({...}) to create the datagrid again.
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!