Search:

Type: Posts; User: nofx

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,715

    Add html in container

    In Sencha Architect 2 i added a container to my app. I wanted to add some html to that container, but how can i do this in a proper way? I know there is an "html" option in the properties window. But...
  2. Thread: Animation bug

    by nofx
    Replies
    0
    Views
    349

    Animation bug

    REQUIRED INFORMATION

    Sencha Designer version

    Sencha Touch 2 - Designer Version: 2.0.0 Build: 311

    Browser versions tested against:

    Chrome Version: 17.0.963.79
  3. Replies
    8
    Views
    2,047

    I want to call it from a DataView. I'm not using...

    I want to call it from a DataView. I'm not using any Ext buttons or field on which i can add an event. I have a DIV with an onclick, like this:

    <div...
  4. Thread: global variables

    by nofx
    Replies
    20
    Views
    13,389

    Sorry i can't get your example to work. I also...

    Sorry i can't get your example to work. I also don't think that it fits my problem.

    In short this is what's happening. I have a DataView which is connected to JSON Store. This JSON store gets...
  5. Thread: global variables

    by nofx
    Replies
    20
    Views
    13,389

    No the problem is that i'm not in the same class....

    No the problem is that i'm not in the same class. I created a "Basic Function" which i want to call.

    I have a Panel on which i have some html DIV elements. I gave those DIV elements an onclick...
  6. Replies
    8
    Views
    2,047

    call controller function

    I have a controller defined like this:



    Ext.define('MyApp.controller.TestController', {
    extend: 'Ext.app.Controller',

    config: {

    },
  7. Replies
    22
    Views
    8,513

    I had this once with another program, but maybe...

    I had this once with another program, but maybe you have the same problem. The problem was that the window was placed outside of my screen. So a normal position on your screen would be x:300, y: 200,...
  8. Thread: global variables

    by nofx
    Replies
    20
    Views
    13,389

    I just added a basic function, but now i have a...

    I just added a basic function, but now i have a new problem. How do i call it? :">

    I created a controller, gave it an "userAlias" and the same "userClassName". Then i added a Basic Function to the...
  9. Thread: global variables

    by nofx
    Replies
    20
    Views
    13,389

    Thanks, thats working fine. I do have another...

    Thanks, thats working fine.

    I do have another problem though. I also need a few 'global' functions. I used to just add functions to my controller which i could just call like:
    ...
  10. Thread: global variables

    by nofx
    Replies
    20
    Views
    13,389

    global variables

    I'm using Designer 2 to create my sencha 2 app. But now i'm in the need of using a global variable(s).
    Normally i would just create another .js file called globals.js in which i put some global...
  11. Replies
    1
    Views
    1,140

    store load on success/error?

    Hi, i'm currently using a JSON store with an AJAXproxy. I can get my json data from an URL, but how can i actually determine if the callback was successful or not? I need this, because the call is...
  12. Thread: switching views

    by nofx
    Replies
    7
    Views
    2,396

    You want to know how to switch between views? Not...

    You want to know how to switch between views? Not sure how far you got but i'll try to explain every step i take in order to do this. Could also be usefull to others.

    I created 3 panels. Main,...
  13. Thread: switching views

    by nofx
    Replies
    7
    Views
    2,396

    Figured it out, this is the answer: var...

    Figured it out, this is the answer:



    var panel = Ext.ComponentQuery.query('main')[0];
    panel.setActiveItem('mypanel2');


    Another thing though, the slide animation goes from left to right,...
  14. Thread: switching views

    by nofx
    Replies
    7
    Views
    2,396

    Just a thing i tried, maybe i'm close... I...

    Just a thing i tried, maybe i'm close...

    I gave my Main panel a userAlias of 'main' and then in the button of Panel1 i do:


    var panel = Ext.ComponentQuery.query('main');...
  15. Thread: switching views

    by nofx
    Replies
    7
    Views
    2,396

    switching views

    We're trying out the designer tool. First thing i'm trying is to switch between views. I'm not sure how to do this though.

    I've created three panels, called: "Main", "Panel1", "Panel2". I've...
  16. [FIXED] I wonder if this is till under your attention? I...

    I wonder if this is till under your attention? I provided the needed info, but it's still on "INFOREQ" and i don't think i'm able to change it to another state.
  17. [FIXED] I'm using an iPhone 3GS iOS Version: 4.3.3 (8J2)....

    I'm using an iPhone 3GS iOS Version: 4.3.3 (8J2). But this also occurs in the xcode simulator (all version 4.x versions). The problem doesn't occure in the iOS 5 simulator. But this only applies to...
  18. [FIXED] App works in browser, not on iPhone + clearIcon bug

    I have this very simple app. Just a view with a docked toolbar and two textfields. The bug is the textfields. I added "clearIcon: false", because they seemed to be enabled by default. But they are...
  19. Replies
    3
    Views
    1,174

    That's not working. It only seems to be working...

    That's not working. It only seems to be working when i add an 'id' property to the second view. Then this code works:



    this.getViewport().setActiveItem('New2'); // 'New2 is the ID of the view
    ...
  20. Replies
    3
    Views
    1,174

    Fortunately i got a bit further. I added a...

    Fortunately i got a bit further. I added a Viewport.js which now loads the first view and i changed my app.js a bit. The first view has a button and when clicked, a controller succesfully responds to...
  21. Replies
    3
    Views
    1,174

    switch views with button

    I have two views. The main view has some text and a button. I want to use that button to switch to the second view. But i don't know how this works with sencha touch 2. This is basically how my code...
  22. Thread: shuffle store

    by nofx
    Replies
    1
    Views
    1,112

    shuffle store

    I have a store with multiple items models stored inside of it. But now i need a way to randomly get the items out of it. Is there a way to shuffle the store? Or is there perhaps another approach i...
  23. Replies
    1
    Views
    1,739

    Ajax problems, status = 0

    I'm trying to do an Ajax call to a .html page to get the content of it. But for some reason it gives me the following error:




    When i browse directly to the url then i see that the url is...
  24. Replies
    1
    Views
    3,849

    get html from panel

    Hi, is there a way to get the html from a panel?? Something like:

    Ext.getCmp('my-panel').getHtml();
  25. Replies
    3
    Views
    991

    I tried your suggestion but it doesn't work. I...

    I tried your suggestion but it doesn't work.

    I want the datepicker to start from 1980, but people should still be able to also pick dates before that, like 1940.

    I also added "dateformat:...
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4