• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JQGrid - header and column not align

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Why is the word "abbreviation" so long? And this ad is so short?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic