1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    3
    Vote Rating
    0
    misterjpa is on a distinguished road

      0  

    Default What event to listen?

    What event to listen?


    Hi,

    First of all, please, forgive my english.

    I have a window in which i'm using a XTEMPLATE to dynamically create the body (which is just an image coming from the server).
    I am also using a pagingToolbar to turn the page of a store containing the images.

    My problem is that i want to resize the body of my window to the exact dimensions of my images when i turn the pages of my store.

    I try to do it on the load listener of the store but the image isn't already display so the <img> containing it have width = 0 and height = 0.

    If i press next then previous, it's ok because the browser get the image in cache so it display it faster.

    So my question is : Do you know an event that can be catch by extJS after the image is loaded?

    Thanks in advance.
    If you have questions i'll be happy to answer it. =)

    MisterJpa

  2. #2
    Sencha User
    Join Date
    May 2013
    Posts
    3
    Vote Rating
    0
    misterjpa is on a distinguished road

      0  

    Default


    I'm sorry, i think i didn't post into the right forum. Can someone move my post to the ExtJS forum ?

    Thanks

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,732
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Which version of Ext JS?

  4. #4
    Sencha User
    Join Date
    May 2013
    Posts
    3
    Vote Rating
    0
    misterjpa is on a distinguished road

      0  

    Default


    3.1.1
    Thanks!

Thread Participants: 1