Search Type: Posts; User: raffael_epix

Search: Search took 0.02 seconds.

  1. This works!

    Code:


    var tab = this.up('tabpanel');
    tab.setActiveItem(2);


    Thanks! =)
  2. Hi!

    How I make to set another active tab on a Ext.TabPanel on click in item on a List ?

    The listener is working, but how change the active tab?

    Thanks!

    =)
  3. This works!

    Thanks!

    The code:


    var tab = this.up('tabpanel'); var form = tab.down('formpanel');
    var field = form.down('numberfield');...
  4. Hi!
    I have a List and a listener on click on the item, its works! But how to set the Value of textfield / numberfield with the value of the listener? I have tested many ways:

    The listener:

    ...
  5. This works!!!


    items.push({ firstName : ''+contacts[i].displayName+'', lastName : '....' });

    Thanks! =):)
  6. Thanks!
    This works!

    But....

    When I put a not static value, not work:

    This works:

    items.push({ firstName : 'test here.', lastName : '....' });
  7. Hi!
    I want to put data from Ext.data.Store from a array / json var.
    The code of var:


    var total = 0;
    var itens = new Array();
    // loop{
    itens[total] = {firstName:name,lastName:lname};...
  8. How I can do this? How I reference the tab panel?
    I have tried this:

    //var lista = Ext.List.........
    Ext.get('lista').add(lista);
    Ext.getCmp('tabpanel_id').get('lista').add(lista);
  9. Hi!
    I want to add a Ext.List to a Ext.tab.Panel after the tabPanel has created.

    My code:
    TabPanel:



    Ext.Viewport.add({
    id: 'viewport',
  10. Working replacing the "lib/touch/sencha-touch.js" to "lib/touch/sencha-touch-all.js".
  11. I receiving a error loading the 2.0.0 version:
    Image:

    32734
  12. Hmm, my code was pointing to 1.1.0 in CDN.

    Have 2.0.0 in the CDN?

    Thanks!

    =)
  13. 2.0.0

    Thanks! =)
  14. I receive this error copying and pasting your code:

    Uncaught TypeError: Object #<Object> has no method 'application' (line 1)

    When I put "Application", I receive this:

    Uncaught TypeError:...
  15. Thanks for the reply, but same error with the code without the "new":


    new Ext.Application({ launch: function() {
    //new Ext.Panel({
    //fullscreen: true,
    ...
  16. Hi!
    I trying to create a tab panel from examples and receiving this error:
    Uncaught Attempting to create a component with an xtype that has not been registered: [object Object]

    The code:

    new...
Results 1 to 16 of 16