byuva
30 Sep 2006, 11:50 AM
I am trying to load from an XML file and am not using the paging functionality. Here is a small excerpt of the relevant code:
//------------------------------
var dataModel = new YAHOO.ext.grid.XMLDataModel({
tagName: 'Document',
totalTag: 'TotalCount',
id: 'doc_id',
fields: ['filename', 'md5']
});
dataModel.load('/yui');
//-------------------------------
According to Firebug I get
YAHOO.util.Connect has no properties at yui-ext.js line 291.
Any thoughts on what the problem could be? The xml seems to be served up from /yui correctly. I am a bit new to Javascript so my apologies if I am missing something obvious.
-b
//------------------------------
var dataModel = new YAHOO.ext.grid.XMLDataModel({
tagName: 'Document',
totalTag: 'TotalCount',
id: 'doc_id',
fields: ['filename', 'md5']
});
dataModel.load('/yui');
//-------------------------------
According to Firebug I get
YAHOO.util.Connect has no properties at yui-ext.js line 291.
Any thoughts on what the problem could be? The xml seems to be served up from /yui correctly. I am a bit new to Javascript so my apologies if I am missing something obvious.
-b