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 Combox showing wrong page numbers

    Combox showing wrong page numbers


    hello sir
    I am using a combobox my problem is it is showing number of documents received on page number ,for more info.you can see the attached screen shot....My whole code is given below plz help its urgent......
    PHP Code:
    COMBO BOX CODE

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

                                },
                                
    keyup : function() {
                                    if (
    Ext.getCmp("searchclrid").getValue().length 4) {

                                        if (
    this.isExpanded()) {
                                            
    this.collapse();
                                        }
                                    }
                                }
                            } 
    PHP Code:
    Data Store
    var reader = new Ext.data.JsonReader({
                            
    totalProperty 'total',
                            
    root 'rows',
                            
    id 'id'
                        
    }, DocumentRecordDefinition);

                var 
    ds = new Ext.data.Store({
                            
    // load using script tags for cross domain
                            
    proxy : new Ext.data.HttpProxy({
                                        
    url 'searchUsingKeyword.jsp',
                                        
    method 'GET'
                                    
    }),
                            
    reader reader
                        
    }); 
    Attached Images

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    86
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    What exactly is your server returning as the 'total'?

Similar Threads

  1. Replies: 1
    Last Post: 10 Jul 2009, 7:55 AM
  2. Combox Box not showing values
    By ektanit in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 6 Jan 2009, 10:55 AM
  3. [help(extjs2.1)]when i put combox into formpanel,something is wrong.
    By iceman09 in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 16 Jun 2008, 6:34 AM
  4. paging numbers not showing
    By bartcha in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 1 Nov 2007, 1:54 PM
  5. what is wrong with the combox?
    By followmephoe in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 21 Sep 2007, 12:40 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi