Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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
    113
    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