Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    8
    Vote Rating
    0
    elyfran is on a distinguished road

      0  

    Default Unanswered: Measure a Width with ExtJS

    Unanswered: Measure a Width with ExtJS


    Hi,


    how can i do for measure a width of a string value with ExtJs?


    I need compare the width a column with the width a data(string...).


    Ex:


    Code:
    var getWidthString = function (grid, dataName)
    {
    var widthColumn = grid.columns[0].width;
    var witdhName = dataName.width(someone component Ext to make this?)
    
    
    if (widthColumn > witdhName )
    {
    return 1;
    }
    else
    {
    return 2;
    }
    }

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    114
    Answers
    3
    Vote Rating
    6
    johanhaest is on a distinguished road

      0  

    Default


    Yes there is, take a look at the following link:

    http://docs.sencha.com/ext-js/4-1/#!...method-measure

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    8
    Vote Rating
    0
    elyfran is on a distinguished road

      0  

    Default


    Quote Originally Posted by johanhaest View Post
    Yes there is, take a look at the following link:

    http://docs.sencha.com/ext-js/4-1/#!...method-measure
    Thx...

    xD

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