Results 1 to 2 of 2

Thread: Bug with Dataview? IE7

  1. #1

    Default Bug with Dataview? IE7


    I have the following code:
    function showFairs() {
    	var fairGridStore = new{
    		directFn: Fair.GetUpcommingFairs,
    		root: 'data',
    		idProperty: 'FairID',
    		totalProperty: 'total',
    		fields: fairRecord
    	var fairTpl = new Ext.XTemplate(
    		'<tpl for=".">',
    			'<hr />',
    			'<span class="date">{[renderDateSimple(values.FromDate)]} tot {[renderDateSimple(values.ToDate)]}</span><br />',
    	var fairView = new Ext.DataView({
    		store: fairGridStore,
    		tpl: fairTpl,
    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.
    	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.


  2. #2


    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