1. #11
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,483
    Vote Rating
    35
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    I don't think there's a bug in the Event object. It seems to return an HtmlElement, not an Ext.Element.

    It doess need documenting though. I'll have a go when I have time to study the code enough.

  2. #12
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    Hi @Animal, one last (unrelated) question.

    I've noticed in your code samples elsewhere that you also use Ext.apply() on an object's prototype, vs Ext.override() on an object's instance in your code sample above. Is this merely personal preference, or is there some reason behind it?

  3. #13
    Sencha User
    Join Date
    Mar 2007
    Posts
    461
    Vote Rating
    1
    JorisA is on a distinguished road

      0  

    Default


    http://extjs.com/deploy/ext/docs/out...html#getTarget

    Code:
    public function getTarget([String selector], [Number/String/HTMLElement/Element maxDepth], [Boolean returnEl])
    
        * returnEl : Boolean
          (optional) True to return a Ext.Element object instead of DOM node

  4. #14
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Joris, false is not a valid selector. If you want an Ext.Element you will need to pass a valid selector. If you don't need the selector then like Animal posted, wrap it in an Ext.get or Ext.fly.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  5. #15
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,483
    Vote Rating
    35
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Quote Originally Posted by mystix View Post
    Hi @Animal, one last (unrelated) question.

    I've noticed in your code samples elsewhere that you also use Ext.apply() on an object's prototype, vs Ext.override() on an object's instance in your code sample above. Is this merely personal preference, or is there some reason behind it?
    There's no difference. Ext.override puts the properties from the 2nd arg into the 1st arg's prototype. Ext.apply puts the properties from the 2nd arg into the 1st arg, so you just specify ".prototype" on the 1st arg.

  6. #16
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    Quote Originally Posted by Animal View Post
    There's no difference. Ext.override puts the properties from the 2nd arg into the 1st arg's prototype. Ext.apply puts the properties from the 2nd arg into the 1st arg, so you just specify ".prototype" on the 1st arg.
    eureka! thanks for the tip

  7. #17
    Ext User
    Join Date
    Aug 2010
    Location
    Chennai,India
    Posts
    19
    Vote Rating
    0
    Manivel is on a distinguished road

      0  

    Default


    Hi

    i wanna one help. i have a grid with summary and pagination. My question is how to show the summary for all rows while pagination. If i change the next page of grid the summary shows only for that page. but i want summary for all rows.
    Regards & Thank You
    P. Manivel

  8. #18
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Why are you posting this question is this really old thread?

    ps. You would have to use a remote summary (e.g. your server returns the summary values and the grid summary shows that info instead of calculating it itself).

  9. #19
    Ext User
    Join Date
    Aug 2010
    Location
    Chennai,India
    Posts
    19
    Vote Rating
    0
    Manivel is on a distinguished road

      0  

    Default


    please give the code
    Regards & Thank You
    P. Manivel

  10. #20
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    This is not an Ext 1.x question and it has nothing to do with this thread. Please start a new thread in the correct forum!

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