File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes JQGrid - header and column not align Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JQGrid - header and column not align" Watch "JQGrid - header and column not align" New topic
Author

JQGrid - header and column not align

Deepak Jan
Greenhorn

Joined: Nov 27, 2013
Posts: 2
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

Joined: Jan 10, 2002
Posts: 61764
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Deepak Jan
Greenhorn

Joined: Nov 27, 2013
Posts: 2
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

Joined: Jan 10, 2002
Posts: 61764
    
  67

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JQGrid - header and column not align