Forum


03:16

24/08/2010

I'm having trouble getting subgrids to work. It just says loading... forever. So I decided to try running non-minified to trace the problem down.
I followed the installation instruction for using the development source. It is loading all the files. My problem is that my code is executing before grid.base.js is.
My html in the head of the page:
<script src="/includes/js/ui/jqGrid-src/grid.loader.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
...
var logLinesGrid = $logLinesGrid.jqGrid({
...
As you can see my code is set to run after the dom is loaded. The grid.load.js runs first and inserts grid.base.js in the DOM. Then my code runs and jqGrid is not defined. And then grid.base.js runs.
This happens in chrome and IE. Any idea what I can do to fix this?
Most Users Ever Online: 715
Currently Online:
71 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66