1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    177
    Vote Rating
    1
    TampaBay55 is on a distinguished road

      0  

    Default ExtJS4 Selector Question

    ExtJS4 Selector Question


    Greetings
    I am attempting to ref a grid that is in a region:
    Code:
    ...
    region: 'south',
    layout: 'fit',
    split: true,
    items:[{
         xtype: 'grid',
         border: false
         ...
    }]
    ...
    in the refs section of my controller but I do not know how to reference the actual grid inside the region:
    Code:
    {ref: 'myGrid',selector:'????'}
    Will someone please kick me in the right direction, please. Thank you.

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,181
    Vote Rating
    77
    ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough ssamayoa is a jewel in the rough

      0  

    Default


    http://docs.sencha.com/ext-js/4-1/#!/api/Ext.ComponentQuery

    You should set itemId because in this case the only way to get the grid is "gridpanel" but such selector will target ANY gridpanel.
    UI: Sencha Architect 3.x / ExtJS 4 MVC
    Server side: EJB 3.1 / CDI / JPA 2 / JAX-RS / JasperReports
    Application Server: Glassfish 3.1.x
    Databases: Oracle 10g & 11g / DB2 9 & 10 / Firebird 2.5

    If you like my answer please vote!

  3. #3
    Sencha User
    Join Date
    May 2009
    Posts
    177
    Vote Rating
    1
    TampaBay55 is on a distinguished road

      0  

    Default


    Thanks ssamayoa!

    That's exactly what I did after some sleep on it and it worked perfectly. I just didn't have an opportunity to update my request. It is, on the other hand, good to know that I am beginning to think in the same lines as seasoned EXTJS programmers. Thanks again!

Thread Participants: 1

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