1. #1
    Sencha User
    Join Date
    Oct 2010
    Location
    Chandigarh (INDIA)
    Posts
    143
    Vote Rating
    0
    sachin sachdeva is on a distinguished road

      0  

    Default combobox paging toolbar showing previous reult on second ajax hit

    combobox paging toolbar showing previous reult on second ajax hit


    Hi. i am using combobx when i search for the first time it shows right number of pages but wen i search for next time it shows right number of pages after the whole data is loaded......it must show it on loading as shown in attachment... my code is
    PHP Code:

    var search = new Ext.form.ComboBox({
                            
    store GlobalSearchDataStore,
                            
    mode 'remote',
                            
    displayField 'fileName',
                            
    id 'searchclrid',
                            
    typeAhead false,
                            
    loadingText 'Searching...',
                            
    width 370,
                            
    pageSize 10,
                            
    minLength 0// 5
                            
    maxLength 250,
                            
    hideTrigger true,
                            
    tpl resultTpl,
                            
    emptyText 'Enter minimum 3 characters...',
                            
    applyTo 'search',
                            
    queryParam 'searchKeyword',
                            
    itemSelector 'div.search-item',
                            
    nocache false,
                            
    minChars 3,
                            
    validateOnBlur true,
                            
    clearFilterOnReset true,
                            
    listeners : {
                                
    blur : function() {
                                    
    Ext
                                            
    .getCmp("searchclrid")
                                            .
    setValue("Enter minimum 3 characters...");
                                },
                                
    focus : function() {
                                    
    Ext.getCmp("searchclrid").clearValue();

                                },
                                
    keyup : function() {
                                    var 
    dcsKeyword Ext.getCmp("searchclrid")
                                            .
    getValue();
                                    if (
    dcsKeyword.length 3) {
                                        
    dcsMultiTrack('DCS.dcsuri',
                                                
    '/amp/keywords/' dcsKeyword,
                                                
    'WT.dl''0');
                                    }
                                    if (
    Ext.getCmp("searchclrid").getValue().length 3) {
                                        if (
    this.isExpanded()) {
                                            
    this.collapse();
                                        }
                                    }
                                },
                                
    specialkey : function(passwordel) {
                                    if ((
    el.getKey() == Ext.EventObject.ENTER)) {
                                        
    EnterKey();
                                    }
                                }
                            } 
    Attached Images

  2. #2
    Sencha User
    Join Date
    Oct 2010
    Location
    Chandigarh (INDIA)
    Posts
    143
    Vote Rating
    0
    sachin sachdeva is on a distinguished road

      0  

    Default


    I have posted it in on (help) but no response from there its about 10 days ago

Similar Threads

  1. Paging ToolBar always showing first page
    By alexaung in forum Ext 3.x: Help & Discussion
    Replies: 10
    Last Post: 29 Jul 2010, 4:00 AM
  2. Paging toolbar of Grid is not showing fully
    By babbarkrishan in forum Community Discussion
    Replies: 1
    Last Post: 28 Dec 2009, 1:28 AM
  3. Paging Toolbar not showing in gridPanel
    By DominikBM in forum Ext 2.x: Help & Discussion
    Replies: 25
    Last Post: 23 Mar 2009, 9:16 AM
  4. Customizing the Next/Previous buttons on the Paging Toolbar
    By phillroberts in forum Ext 1.x: Help & Discussion
    Replies: 8
    Last Post: 20 Sep 2007, 5:36 AM
  5. Replies: 8
    Last Post: 17 Dec 2006, 6:25 AM

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar