Search Type: Posts; User: nofx
Search: Search took 0.03 seconds.
-
29 Jul 2012 10:20 PM
Jump to post Thread: Add html in container by nofx
- Replies
- 2
- Views
- 866
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...
-
20 Mar 2012 7:11 AM
Jump to post Thread: Animation bug by nofx
- Replies
- 0
- Views
- 145
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 -
22 Feb 2012 5:15 AM
Jump to post Thread: call controller function by nofx
- Replies
- 8
- Views
- 1,415
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... -
22 Feb 2012 4:41 AM
Jump to post Thread: global variables by nofx
- Replies
- 19
- Views
- 5,161
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... -
21 Feb 2012 2:11 PM
Jump to post Thread: global variables by nofx
- Replies
- 19
- Views
- 5,161
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... -
21 Feb 2012 2:46 AM
Jump to post Thread: call controller function by nofx
- Replies
- 8
- Views
- 1,415
I have a controller defined like this:
Ext.define('MyApp.controller.TestController', {
extend: 'Ext.app.Controller',
config: {
}, -
21 Feb 2012 2:01 AM
Jump to post Thread: no program window anymore by nofx
- Replies
- 21
- Views
- 2,638
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,...
-
21 Feb 2012 1:45 AM
Jump to post Thread: global variables by nofx
- Replies
- 19
- Views
- 5,161
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... -
15 Feb 2012 5:32 AM
Jump to post Thread: global variables by nofx
- Replies
- 19
- Views
- 5,161
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:
... -
9 Feb 2012 1:57 AM
Jump to post Thread: global variables by nofx
- Replies
- 19
- Views
- 5,161
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... -
8 Feb 2012 5:58 AM
Jump to post Thread: store load on success/error? by nofx
- Replies
- 1
- Views
- 598
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...
-
2 Feb 2012 7:57 AM
Jump to post Thread: switching views by nofx
- Replies
- 7
- Views
- 1,028
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,... -
2 Feb 2012 6:57 AM
Jump to post Thread: switching views by nofx
- Replies
- 7
- Views
- 1,028
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,... -
2 Feb 2012 6:18 AM
Jump to post Thread: switching views by nofx
- Replies
- 7
- Views
- 1,028
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');... -
2 Feb 2012 5:47 AM
Jump to post Thread: switching views by nofx
- Replies
- 7
- Views
- 1,028
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... -
19 Jan 2012 4:27 AM
- Replies
- 5
- Views
- 1,114
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.
-
18 Jan 2012 7:31 AM
- Replies
- 5
- Views
- 1,114
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 Jan 2012 1:28 AM
- Replies
- 5
- Views
- 1,114
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...
-
17 Jan 2012 11:56 PM
Jump to post Thread: switch views with button by nofx
- Replies
- 3
- Views
- 806
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
... -
17 Jan 2012 6:43 AM
Jump to post Thread: switch views with button by nofx
- Replies
- 3
- Views
- 806
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...
-
17 Jan 2012 1:01 AM
Jump to post Thread: switch views with button by nofx
- Replies
- 3
- Views
- 806
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...
-
20 Dec 2011 11:55 PM
Jump to post Thread: shuffle store by nofx
- Replies
- 1
- Views
- 571
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...
-
13 Dec 2011 2:24 AM
Jump to post Thread: Ajax problems, status = 0 by nofx
- Replies
- 1
- Views
- 851
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... -
31 Oct 2011 6:41 AM
Jump to post Thread: get html from panel by nofx
- Replies
- 1
- Views
- 1,223
Hi, is there a way to get the html from a panel?? Something like:
Ext.getCmp('my-panel').getHtml(); -
27 Oct 2011 5:03 AM
Jump to post Thread: datepicker questions by nofx
- Replies
- 3
- Views
- 506
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
