-
13 Jun 2009 1:47 AM #21
-
13 Jun 2009 5:29 AM #22
Here is more information
Also, is this line of code correct in your class?Code:Error: Ext.ux.iconMgr is undefined
Seems like that won't work because I don't have that directory on my computer.Code:forceIcon: Ext.ux.iconMgr.getIcon('/dev/common/icons.nsf/extjs/ux/icons/', 'clock_refresh'),
-
13 Jun 2009 12:31 PM #23
-
14 Jun 2009 2:51 AM #24
can you give demo?tankyou
-
14 Jun 2009 5:17 AM #25
I put the css class in my css and added it below.
Doing that produces this error:Code:forceIcon: 'myImg01',
Nothing works. I think maybe it would save you time to make a simple demo .html and put in your zip. This way you won't have to help others with the same problems since it doesn't work in the .zip you provide.Code:Error: this.field is undefined
Hopefully, I can find a way to make it work. Looks really useful.
-
14 Jun 2009 5:40 AM #26
I had a difficult time getting this component to work because of the icon too. To get this plugin working quickly just comment out the 'forceIcon' line. I had to search this forum for the 'Ext.ux.iconMgr' code posted by galdaka and include it into my code. Then I updated the 'forceIcon' path. After that everything worked just fine. One think I did notice is that when using the AutoRefresh with paging is that whenever page I am on when I enable the refresh is the page that keeps getting reloaded even if I navigate away to another page. If I start the refresher on pg 2 and naviagate to page 4 before the time gets to zero I am forwarded back to pg 2. I wounder if this is normal.
Last edited by gurufaction; 14 Jun 2009 at 5:41 AM. Reason: typos
-
14 Jun 2009 8:28 AM #27
-
14 Jun 2009 8:35 AM #28Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
You should use Ext.apply or Ext.override for this. It results in cleaner code.Code:if(Ext.ux.grid.AutoRefresher){ Ext.ux.grid.AutoRefresher.prototype.withoutTimeText = " Núnca"; Ext.ux.grid.AutoRefresher.prototype.secondsText = " segundo(s)"; Ext.ux.grid.AutoRefresher.prototype.minutesText = " minuto(s)"; Ext.ux.grid.AutoRefresher.prototype.hoursText = " hora(s)"; Ext.ux.grid.AutoRefresher.prototype.refreshText = " Refresco en: "; }
Code:if(Ext.ux.grid.AutoRefresher){ Ext.apply(Ext.ux.grid.AutoRefresher.prototype, { withoutTimeText : " Núnca", secondsText : " segundo(s)", minutesText : " minuto(s)", hoursText : " hora(s)", refreshText : " Refresco en: " }); }Code:if(Ext.ux.grid.AutoRefresher){ Ext.override(Ext.ux.grid.AutoRefresher, { withoutTimeText : " Núnca", secondsText : " segundo(s)", minutesText : " minuto(s)", hoursText : " hora(s)", refreshText : " Refresco en: " }); }
Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
14 Jun 2009 8:36 AM #29
-
14 Jun 2009 8:47 AM #30



Reply With Quote
my ext js site