• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JQGrid - header and column not align

 
Deepak Jan
Greenhorn
Posts: 2
  • 0
  • 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: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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
  • 0
  • 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: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic