1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    210
    Vote Rating
    1
    KRavEN is on a distinguished road

      0  

    Default Ext.ux.grid.ProgressColumn plugin

    Ext.ux.grid.ProgressColumn plugin


    Ext.ux.grid.ProgressColumn is a grid plugin that shows a progress bar for a number between 0 and 100 to indicate some sort of progress. The plugin supports all the normal cell/column operations including sorting, editing, dragging, and hiding. It also supports special progression coloring or standard Ext.ProgressBar coloring for the bar.

    This is based off the work started here: http://extjs.com/forum/showthread.php?t=36291

    You can extract the attached zip file into the examples folder to see a demo.

    This has been tested working in FF2 and IE6

    Edited: tweaked the css a little bit to so the dirty indicator displays correctly

    Edit 2: Fixed the IE6 problem with an ugly little hack, but it works
    Attached Files

  2. #2
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    528
    Vote Rating
    0
    Eric24 is on a distinguished road

      0  

    Default


    It's a very cool plugin, but I'm curious: Why not do this as a custom renderer? What makes the plugin approach necessary?

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    210
    Vote Rating
    1
    KRavEN is on a distinguished road

      0  

    Default


    You just have more flexibility with a plugin.

  4. #4
    Sencha User
    Join Date
    May 2007
    Posts
    113
    Vote Rating
    1
    Fabyo is on a distinguished road

      0  

    Default


    Thank you for that plugin

    was the good part of editing

    I would only give a sujest

  5. #5
    Ext User
    Join Date
    Jun 2008
    Posts
    49
    Vote Rating
    0
    alienwebz is on a distinguished road

      0  

    Default


    When I download the files they say it is corrupt could some one email them to me? matthew.003@hotmail.com

  6. #6
    Sencha User fangzhouxing's Avatar
    Join Date
    Mar 2007
    Posts
    468
    Vote Rating
    2
    fangzhouxing is on a distinguished road

      0  

    Default


    very nice! Thank you for sharing!

    I found a error in line 151 of file progress-grid.js, it should like this:
    Code:
            var p = new Plant({
              common : 'New Plant 1',
              light : 'Mostly Shade',
              price : 0,
              availDate : (new Date()).clearTime(),
              indoor : false,
          growth : 80      <-------- added by me
            });
    Last edited by mystix; 18 Jul 2008 at 8:24 AM. Reason: post code in [code][/code] tags. refer to http://extjs.com/forum/misc.php?do=bbcode

  7. #7
    Ext User
    Join Date
    Feb 2008
    Posts
    8
    Vote Rating
    0
    jrpqwerty is on a distinguished road

      0  

    Default


    zipfile appears to be corrupted downloads with correct size but winzip thinks its not a valid archive

  8. #8
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    Quote Originally Posted by jrpqwerty View Post
    zipfile appears to be corrupted downloads with correct size but winzip thinks its not a valid archive
    works fine for me.

    Use FF. IE frequently craps out on this forum's attachments.

  9. #9
    Sencha User
    Join Date
    May 2007
    Posts
    113
    Vote Rating
    1
    Fabyo is on a distinguished road

      0  

    Default


    When the value of the field "growth" he is = or >100 of that error, while more edit:

    Code:
    this.config[A] has no properties
    Ext.grid.ColumnModel=function(A){this.defaultWidth=100;this.defaultSortable=fals...

  10. #10
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    Quote Originally Posted by Fabyo View Post
    When the value of the field "growth" he is = or >100 of that error, while more edit:

    Code:
    this.config[A] has no properties
    Ext.grid.ColumnModel=function(A){this.defaultWidth=100;this.defaultSortable=fals...
    maybe you should post some code to demonstrate the bug.
    (i have no idea what you just tried to describe)