EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: vforiso on October 18, 2012, 10:19:27 AM



Title: NOn alignment of Header and row cells in datagrid
Post by: vforiso 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.




Title: Re: NOn alignment of Header and row cells in datagrid
Post by: stworthy 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.