KRavEN
2 Sep 2010, 7:06 AM
Ext.ux.grid.plugin.ProgressColumn is a Grid plugin that shows a progress bar for the integer value of that column.
By default a number between 0 and 100 is expected but this can be changed by setting the 'ceiling' config option.
By default the bar will be colored in a red, orange, green progression. The 'invertedColor' config option can be set to true to reverse this.
To use the standard Ext.ProgressBar coloring set the 'colored' config option to false.
There are also config options 'topText' and 'bottomText' to add text above and below the progress bar.
Finally, the action to start editing the column can be defined with the 'actionEvent' config option. The default is 'click'.
This is an updated version of my grid plugin (http://www.sencha.com/learn/Extension:ProgressColumn) for Ext 2.x.
This has been tested working in Firefox 3.x and Internet Explorer 6 & 7.
Extract the attachment into the examples/grid folder for a demo. (Must be behind a webserver to load the plants.xml file)
22220
By default a number between 0 and 100 is expected but this can be changed by setting the 'ceiling' config option.
By default the bar will be colored in a red, orange, green progression. The 'invertedColor' config option can be set to true to reverse this.
To use the standard Ext.ProgressBar coloring set the 'colored' config option to false.
There are also config options 'topText' and 'bottomText' to add text above and below the progress bar.
Finally, the action to start editing the column can be defined with the 'actionEvent' config option. The default is 'click'.
This is an updated version of my grid plugin (http://www.sencha.com/learn/Extension:ProgressColumn) for Ext 2.x.
This has been tested working in Firefox 3.x and Internet Explorer 6 & 7.
Extract the attachment into the examples/grid folder for a demo. (Must be behind a webserver to load the plants.xml file)
22220