This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JQGrid - header and column not align

 
Deepak Jan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried all combination permutation of attribute I am still facing this alignment issue ; header columns not in line row's

In .js file I have bellow code



i am using above dyna.js file in the .jsp bellow is the code

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I"ve not used jqGrid myself, but it seems odd to have the script tag in the middle of the table. Why is it not in the head element, or at the bottom of the body, where script tags are usually placed?

It may have nothing at all to do with the problem (in fact, not likely), but it is odd.
 
Deepak Jan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes I agree with on placement of script .

<html>
<title>
<script language="JavaScript" type="text/javascript" src="/js/dynalist-js/dyna.js"></script> //this is just .js import
</title>
<body>

<table id="grid0" ></table> //JQgrid display here


</body>
</html>

Please suggest any solution to this issue
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ummm, it's not valid to put it in the title tag either. it should either be in the head element or at the end of the body. In any case, I cannot answer your jqGrid question having never used it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic