Search Type: Posts; User: Di Peng
Search: Search took 0.02 seconds.
-
10 May 2012 6:39 PM
- Replies
- 8
- Views
- 3,111
Awesome! will check it out immediately
-
14 Apr 2012 12:24 PM
- Replies
- 2
- Views
- 552
ya, My computer is kinda slow.
But it is surprising that Safari's animation is far better than Chrome, on the same machine. -
11 Apr 2012 7:53 AM
- Replies
- 2
- Views
- 552
Hi guys,
ST2 animation on IPad is smooth and nice. But the same animation seems really slow and laggy on my mac computer which has much better processor and GPU.
Any idea why?
Thanks
Di -
23 Mar 2012 11:56 AM
- Replies
- 5
- Views
- 2,826
Hi Jamie,
I don't think this problem is fixed in the new release
Just look at http://docs.sencha.com/touch/2-0/source/DatePicker.html#Ext-field-DatePicker
Look at the destroy method... -
23 Mar 2012 9:10 AM
- Replies
- 6
- Views
- 1,049
Hi Jamie, I solved it !!
I removed <!DOCTYPE html> at the tope of the index.html page some time ago by accident.
Nothing went wrong previously.
This problem only shows up when I upgraded to XCode... -
23 Mar 2012 7:51 AM
- Replies
- 6
- Views
- 1,049
What do you mean "stack examples"? But i ll try it with Sencha examples to see if such things happen.
-
22 Mar 2012 7:32 PM
- Replies
- 6
- Views
- 1,049
I am using ST2.0.0 FINAL with PhoneGap 1.2
I could only see this problem when using phonegap. Meaning the app works fine in mobile Safari.
Please take a look at the following images. They are... -
5 Mar 2012 12:28 PM
- Replies
- 1
- Views
- 933
I have made an iCal style datepicker for sencha touch 2 based on another one made by megous which works with st 1.x
Hope it will be useful to some of you :)
Here is the link -
2 Mar 2012 2:02 PM
- Replies
- 12
- Views
- 1,267
So should we expect the code snippet you just posted to be in next release? So there will be no error at all for my use case?
Thanks Jamie! -
2 Mar 2012 1:50 PM
- Replies
- 12
- Views
- 1,267
Sorry for the misunderstanding.
Please see the attached for the code.
I used a modal window to show my point.
Basically, both destroy on hide/destroy on deactivate will cause problems like this. -
2 Mar 2012 12:00 PM
- Replies
- 12
- Views
- 1,267
Hi Jamie,
Just go to Sencha docs at http://docs.sencha.com/touch/2-0/#!/api/Ext.field.DatePicker
and add "destroyPickerOnHide: true" into the example.
Open the picker and click cancel... -
2 Mar 2012 10:27 AM
- Replies
- 12
- Views
- 1,267
Hi Jamie,
This is a really common problem. Whenever I want to animate the exit of a screen I have to do the following to make sure no error is thrown:
panel.on('hide', function() {
... -
2 Mar 2012 10:23 AM
- Replies
- 5
- Views
- 2,826
So a temp fix we use is this:
// @private
destroy: function() {
//NOTE: This is a quick fix of sencha code !!!
var picker = this._picker;
if (picker &&... -
2 Mar 2012 10:17 AM
- Replies
- 12
- Views
- 1,267
Hi,
Following is my code:
{
xtype: 'datepickerfield',
destroyPickerOnHide: true
} -
2 Mar 2012 9:54 AM
- Replies
- 5
- Views
- 2,826
I had a form with 10 datepickers and it is dead slow when I destroy the form.
Here is the problem:
//Destroy method in DatePicker.js
// @private
destroy: function() {
var... -
9 Feb 2012 6:36 AM
- Replies
- 3
- Views
- 334
Why Beta 3? Is Beta 2 already out yet?
-
29 Jan 2012 6:29 PM
Jump to post Thread: Need a Calendar for App by Di Peng
- Replies
- 1
- Views
- 296
Read through the Code for ST1 and port it over to ST2. I will do it eventually but if you need it more urgently than me. You probably have to go ahead and make it yourself.
I think with ST1... -
3 Jan 2012 6:22 PM
Jump to post Thread: Check out WhichJS by Di Peng
- Replies
- 4
- Views
- 602
That's quite true :). I am loving Sencha(both Ext and Touch) immensely so far.
-
3 Jan 2012 6:12 PM
Jump to post Thread: Check out WhichJS by Di Peng
- Replies
- 4
- Views
- 602
Because that only works for Ext/Sencha. But WhichJS tries to cover all major JS frameworks :)
-
3 Jan 2012 1:17 AM
Jump to post Thread: Check out WhichJS by Di Peng
- Replies
- 4
- Views
- 602
Hi,
I have always wanted to quickly figure out what version of Ext/Sencha Touch a website is using. Also I want to know what other frameworks are also used in conjecture with Ext.
... -
29 Dec 2011 2:04 PM
- Replies
- 4
- Views
- 1,437
Hi I am using ExtJS 4.1 and in chrome browser.
The wild card notation '*' in Ext.Loader does not seem to work.
The name of my app is 'Zan', I followed all Ext conventions in constructing my... -
29 Dec 2011 12:52 PM
- Replies
- 6
- Views
- 1,137
I see :D
I tried the following and it worked. (wasn't too bad afterall)
......
initComponent: function() {
this.aaa = 'new aaa';
this.callParent();
}
........
console.log(panel.getAaa()) =>... -
29 Dec 2011 12:46 PM
- Replies
- 6
- Views
- 1,137
I don't understand.....
Then I ll have to write my own setters and getters?? -
29 Dec 2011 12:39 PM
- Replies
- 6
- Views
- 1,137
Then How do I set default values for cfg properties? calling individual setter in initcomponent?
I tried the following code and it worked:
......
initComponent: function() {
this.aaa = 'new... -
28 Dec 2011 2:51 PM
- Replies
- 6
- Views
- 1,137
Hi,
When I declare a class, I am under the impressions that I can put cfg properties into the config object, getter and setters are generated for this cfg property and I can pass a default value...
Results 1 to 25 of 44
