Results 1 to 2 of 2

Thread: Bug with Dataview? IE7

  1. #1
    Ext User
    Join Date
    Aug 2010
    Posts
    48
    Vote Rating
    0
      0  

    Default Bug with Dataview? IE7

    Hi,

    I have the following code:
    Code:
    function showFairs() {
    
    	var fairGridStore = new Ext.data.DirectStore({
    		directFn: Fair.GetUpcommingFairs,
    		root: 'data',
    		idProperty: 'FairID',
    		totalProperty: 'total',
    		fields: fairRecord
    	});
    
    	fairGridStore.load();
    
    	var fairTpl = new Ext.XTemplate(
    		'<tpl for=".">',
    			'<hr />',
    			'{Description}<br>',
    			'<span class="date">{[renderDateSimple(values.FromDate)]} tot {[renderDateSimple(values.ToDate)]}</span><br />',
    		'</tpl>');
    	var fairView = new Ext.DataView({
    		store: fairGridStore,
    		tpl: fairTpl,
    		renderTo:'Fairs'
    	});
    }
    When the dataview is active it I get an error, when it is commented out it runs good (although no render of the data). I get an undefined error on line 1123 in the ext-all-debug of version 3.3.0.
    Code:
    	jsSelect: function(path, root, type){
    	    root = root || document;
    	    
                if(typeof root == "string"){
                    root = document.getElementById(root);
                }
                var paths = path.split(","),
                	results = [];
    This happens only in IE7. I tested this with multiple of the above functions (I have 3 in my website, and all give the same problem). In my mainpage I have this div
    <div id="Fairs"></div>

    Im not sure what I'm doing wrong, but I hope someone can help me out.

    Patrick

  2. #2
    Ext User
    Join Date
    Aug 2010
    Posts
    48
    Vote Rating
    0
      0  

    Default

    hmm... nvr mind, itemSelector is required in the dataview...

Similar Threads

  1. IE7 : positioned items don't scroll in dataview
    By hyponym in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 25 Aug 2010, 11:47 PM
  2. Dataview will not autoScroll for me in IE7
    By parky128 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 30 Jul 2010, 6:57 AM
  3. Animated DataView Example Bug.
    By WixSL in forum Ext 3.x: Bugs
    Replies: 0
    Last Post: 13 Jul 2010, 4:30 PM
  4. [2.1] bug in example Advanced DataView
    By uclali1986 in forum Ext 2.x: Bugs
    Replies: 0
    Last Post: 23 Apr 2008, 1:37 AM
  5. [2.0.1] possible bug: DataView.refresh
    By vorcigernix in forum Ext 2.x: Bugs
    Replies: 1
    Last Post: 4 Feb 2008, 1:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •