I've seen a few other postings with the same “jQuery(modwin).jqDrag is not a function” error – however I cannot find a documented solution!
Here's my source code …
<script type="text/javascript">
$(document).ready(function(){
$("#grid").jqGrid({
url:'grid_param_redirect.jsp?baseUrl=https://david.nfis.org/wrt&gdasUrl=https%3A%2F%2Fncr.cfsnet.nfis.org%2Fgdas%2Fgdas%3FService%3DGDAS%26Request%3DGetData%26Version%3D0.9.1%26FrameworkDomain%3Dcfsnet.nfis.org%26FrameworkVersion%3D1%26FrameworkName%3DFOBIG_COSEWIC_data%26DatasetDomain%3Dcfsnet.nfis.org%26DatasetName%3Dfobig%26Attribute%3Dtaxomic_group%2Cforest_association%2Cspecies_name_e%2Cscientific_name%2Csituation1999%2Csituation2004%2Csituation2005%2Csituation2006%2Csituation2007%2Csituation2008%2Clast_cosewic_reassessment%2Cthreats%2Cpopulation_trend%2Con_schedule1%2Cdistribution%2Chabitat%2Cecozone%2Ccomment%2Cid&templateUrl=https://david.nfis.org/seedlist/grid_data.jsp&cache=true',
datatype: 'xml',
colNames:['Geolinkage Field','taxomic_group','forest_association','species_name_e','scientific_name','situation1999','situation2004','situation2005','situation2006','situation2007','situation2008','last_cosewic_reassessment','threats','population_trend','on_schedule1','distribution','habitat','ecozone','comment','id'],
colModel :[
{name: 'geolinkage_field', index: 'geolinkage_field', width: 120, sortable: true},
{name: 'taxomic_group', index: 'taxomic_group', width: 120, sortable: true},
{name: 'forest_association', index: 'forest_association', width: 120, sortable: true},
{name: 'species_name_e', index: 'species_name_e', width: 120, sortable: true},
{name: 'scientific_name', index: 'scientific_name', width: 120, sortable: true},
{name: 'situation1999', index: 'situation1999', width: 120, sortable: true},
{name: 'situation2004', index: 'situation2004', width: 120, sortable: true},
{name: 'situation2005', index: 'situation2005', width: 120, sortable: true},
{name: 'situation2006', index: 'situation2006', width: 120, sortable: true},
{name: 'situation2007', index: 'situation2007', width: 120, sortable: true},
{name: 'situation2008', index: 'situation2008', width: 120, sortable: true},
{name: 'last_cosewic_reassessment', index: 'last_cosewic_reassessment', width: 120, sortable: true},
{name: 'threats', index: 'threats', width: 120, sortable: true},
{name: 'population_trend', index: 'population_trend', width: 120, sortable: true},
{name: 'on_schedule1', index: 'on_schedule1', width: 120, sortable: true},
{name: 'distribution', index: 'distribution', width: 120, sortable: true},
{name: 'habitat', index: 'habitat', width: 120, sortable: true},
{name: 'ecozone', index: 'ecozone', width: 120, sortable: true},
{name: 'comment', index: 'comment', width: 120, sortable: true},
{name: 'id', index: 'id', width: 120, sortable: true}],
pager: jQuery('#pager'),
rowNum: 25,
rowList:[25,50,100],
viewrecords: true,
imgpath: 'scripts/themes/green/images',
height: 400,
shrinkToFit: false,
width: 800,
caption: 'Forest Biodiversity Information Gateway',
multiselect: true,
pager: 'pager'
}).navGrid('#pager', {
refresh: true,
edit: true,
add: true,
del: false,
search: true
});
$("#search").click(function() {
$("#grid").searchGrid();
});
});
script>
head>
<body>
<table id="grid" class="scroll" cellpadding="0" cellspacing="0">table>
<div id="pager" class="scroll" style="text-align: center;">div>
<p id="search">Searchp>
body>
|
1 |
Suggestions? Thanks in advance …
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top