-
20 May 2010 1:12 AM #31Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28

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.
-
20 May 2010 1:36 AM #32
hi
sorry for putting this up in the forum.
but i don't know how to proceed.
i am a beginner in javascript and completely new to ext-js.
in my error console i can see the error is in ext-base.js line9.
but the file is not easily readable.
i am getting the error, even after i reduced my code to
Ext.ux.ProgressColumn = Ext.extend(Ext.grid.Column, { });
how can i proceed debugging from here?
thanks
-
20 May 2010 1:49 AM #33Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
Use ext-base-debug.js and ext-all-debug.js for debugging!
-
20 May 2010 2:55 AM #34Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28

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.
-
29 Jul 2010 8:34 AM #35
For my use i added a new attribute:
and changed the colored-part to this:PHP Code:/**
* @cfg {boolean} invertedColor if timespan is used
*/
invertedColor : false
So it demonstrates better the time that approachs.PHP Code:if (this.colored == true) {
if(this.invertedColor == true) {
if (v > 66)
style = '-red';
if (v < 67 && v > 33)
style = '-orange';
if (v < 34)
style = '-green';
}
else {
if (v <= 100 && v > 66)
style = '-green';
if (v < 67 && v > 33)
style = '-orange';
if (v < 34)
style = '-red';
}
}
i.e. 99% of the time between now and endtime of a project is critical -> red !
-
23 Feb 2011 12:43 AM #36
great extension indeed.. Thank u so much Animal.. I just want to ask is it compatible with Grouping Grid? I tried to use, but I wasn't able to see any changes in the cell?
I'll be happy if someone helps me..
Thanks in advance.."People will never forget how you made them feel."
linkedin.com/in/talhakabakus
-
31 Oct 2011 1:29 AM #37
Hi,
Thank you for this good extension.
In my project I need to choose the color of the progress bar in function of an other column, to do this I have changed the initial code, it seems to me to be good to integrate this update in the original version:
My little modifications are in bold.
Bye and again thank you for this pluginCode:getBarClass: function(fraction, value, meta, record, rowIndex, colIndex, store) { return (fraction > 0.98) ? 'high' : (fraction > 0.75) ? 'medium' : 'low'; } // private renderer: function(value, meta, record, rowIndex, colIndex, store) { var fraction = this.getFraction.apply(this, arguments), pct = fraction * 100, displayVal; Array.prototype.push.call(arguments, pct); displayVal = this.baseRenderer.apply(this, arguments); if (record) { meta.css += ' x-grid3-td-progress-cell'; return this.tpl.apply({ align: this.align || 'left', value: displayVal, pct: fraction * 100, qtip: this.getQtip.apply(this, arguments), cls: this.getBarClass(fraction, value, meta, record, rowIndex, colIndex, store) }); } else { return displayVal; } }
Cyberal
-
17 May 2012 7:25 AM #38
p is null
p is null
Hi!...this is error when integrate whit grouping and summay
p is null
line 148
display bar good in grid but not in summary row.
Any suguestions?
sorry my bad inglish.
-
16 Jun 2012 6:22 PM #39
Ext JS 4.1.0
Ext JS 4.1.0
Anyone have this plugin working with 4.1.0?
- Joe



Reply With Quote