1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    17
    Vote Rating
    0
    JoePie is on a distinguished road

      0  

    Default Tips

    Tips


    In the tips section, when I add
    PHP Code:
    {
          
    trackMousetrue,
          
    width225,
          
    height28,
          
    renderer: function(storeItemitem) {          
                        
    this.setTitle(storeItem.get('distribution') + ' $' Ext.util.Format.number(storeItem.get('pamount'),'0,000') + ' (' storeItem.get('prcnt') + '%)');
                     }

    the quotes in the renderer disappear when I export, so the code looks like

    PHP Code:
    {
          
    trackMousetrue,
          
    width225,
          
    height28,
          
    renderer: function(storeItemitem) {          
                        
    this.setTitle(storeItem.get(distribution) +  $ +  Ext.util.Format.number(storeItem.get(pamount),0,000) +  ( +  storeItem.get(prcnt) + %));
                     }

    and my code does not work. Is there anyway to fix this?

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Posts
    17
    Vote Rating
    0
    JoePie is on a distinguished road

      0  

    Default


    I am using version 1.2.1-27

  3. #3
    Sencha User
    Join Date
    May 2008
    Posts
    3
    Vote Rating
    0
    HeadConnect is on a distinguished road

      0  

    Default


    Hi,

    I've got a similar issue, but this time the quotes are fine, but spaces are getting a bit screwed up:

    I enter this in the tooltip section of a chart series:
    PHP Code:
      {
      
    trackMousetrue,
      
    renderer: function(storeItemitem) {
            
    this.setTitle(storeItem.get('project') + ':');
            
    this.update(storeItem.get('sent') + ' sent documents at ' Ext.util.Format.date(storeItem.get('inserttime'),'Y-m-d H:i:s'));
        }
     } 
    Note that I added the html nbsp's to get spaces in there, without it spaces disappear. However the fun starts in the format of the date, it suddenly adds spaces after all ":"s.. Same with title actually.


    I get this out in code:
    PHP Code:
    tips: {
                    
    trackMousetrue,
                    
    renderer: function(storeItem,
                    
    item){
                        
    this.setTitle(storeItem.get('project') + ': ');
            
    this.update(storeItem.get('sent') + ' sent documents at ' Ext.util.Format.date(storeItem.get('inserttime'),'Y-m-dH: i: s'));
        }
     }, 
    Using 1.2.2 build 48.

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