Search Type: Posts; User: kasperpihl
Search: Search took 0.03 seconds.
Ahh yeah of course.
I forgot, the ComponentQuery.query returns an array of the matching elements :-)
thats why you have to access button as an array
show() should do the job, but if you try setVisible before it will crash the function.
Does the console.log log out the right object?
you can add a id or name to the button and just append to the component query.
button = Ext.ComponentQuery.query('statspanel button');
will return every buttons within the statspanel.
I found out.
I had to listen on the stores 'addrecords', 'updaterecord' and 'removerecords' events.
'removerecords' doesn't work though.
Regarding the testcase I will give it a try and post it...
Im a little confused where to update those records.
The pull refresh give me a updatedata event.
That is not getting triggered.
my component query is "mainview pullrefresh"
and i try to control...
11 Apr 2012 9:16 AM
In the store just set the model property.
This only tells what model you should be using.
ex: model: 'App.model.Shop'
The setData will overwrite whatever data that is there already.
I don't know how you have put that div into the DOM, but if it is not through sencha, it could be overwritten.
Can you show the code where the div is added to the dom, and where you access it?
I have a list with a pullrefresh.
It works okay but I have multiple problems.
I can't get the right event to listen on for the data when is updated.
I have tried the store's refresh event,...
Sorry if I was not clear enough.
Simply what I mean is that i want do drag the entire panel up on top of the slider to see the whole content of it.
Then if I drag the content down again, I can...
I have a panel with a carousel at the top, and a panel representing the content at the item at the bottom.
How can I smartest make so that panel at the bottom, can be swiped up above the...
How can I call another controllers function from inside a controller.
I can't see how to do this in a smart way.
Basically i want a reference to another instantiated controller.
Thanks a lot for the tip. :-)
I though have some trouble when i put it into a container, then it suddenly wont layout at all.
It is loading from a store automatically, and get all the records as...
I want to "reward" my users if they scroll all the way to the bottom of all my items.
What is the best way to always have an "extra" item at the bottom, because the list can change quite...
30 Oct 2011 11:26 PM
I don't know if this helps.
but try in your views to replace xtype with alias.
Remember to add widget in front of the xtype name as below.
That works for me
The best thing really you can do is to read the MVC guide on Ext-JS4, it is awesome and give the basics for how the new sencha touch 2 works, since it uses the same engine. ...
30 Oct 2011 2:07 PM
Hi there. For a start I am really no pro, but hopefully this can help you in the right direction.
First the Radiofield has the xtype: radiofield. (As seen at the top of the documentation)
Results 1 to 16 of 16