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

      0  

    Default


    not

    how to work with editing slider?

  2. #12
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,502
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    You might try the new SliderField from the 3.2 beta.

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

      0  

    Default


    Thanks

  4. #14
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    289
    Vote Rating
    3
    wki01 is on a distinguished road

      0  

    Default


    It would be nice to have such a thing as an extension of DisplayField.
    Anyone?

    Thanks in advance

  5. #15
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,502
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    I don't know what you mean. What has a DisplayField got to do with a column renderer?

  6. #16
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    36
    Vote Rating
    0
    supercharge2 is on a distinguished road

      0  

    Default Thank you

    Thank you


    Thank you animal for this useful extension. This really spiced up a page my sales team uses to track their sales progress. Now at a glance they can see where they are at which saves time and money. I appreciate your contributions!

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

      0  

    Default


    Quote Originally Posted by Animal View Post
    I don't know what you mean. What has a DisplayField got to do with a column renderer?
    I find it interesting to use the SliderField in edit mode

  8. #18
    Ext JS Premium Member
    Join Date
    Nov 2008
    Posts
    289
    Vote Rating
    3
    wki01 is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    I don't know what you mean. What has a DisplayField got to do with a column renderer?
    I was looking for a field that can display the value of a share (%) in graphic mode

  9. #19

  10. #20
    Ext User
    Join Date
    Mar 2009
    Posts
    11
    Vote Rating
    0
    antmangaka is on a distinguished road

      0  

    Default


    hi first of all great plugin and thank you for posting it.

    I tried registering the component like this

    Code:
    Ext.reg('pcolumn',Ext.ux.ProgressColumn);
    then tried to use it like:
    Code:
    var grid = new Ext.grid.GridPanel({
            store: store,
            columns: [
                {id:'company',header: 'Company', width: 160, sortable: true, dataIndex: 'company'},
                {header: 'Price', width: 75, sortable: true, renderer: 'usMoney', dataIndex: 'price'},
                {header: 'Change', width: 75, sortable: true, renderer: change, dataIndex: 'change'},
                {xtype:'pcolumn',header: '% Change',width: 105,dataIndex: 'change',divisor: 'price',align: 'center'},
                {header: 'Last Updated', width: 85, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange'}
            ],
            stripeRows: true,
            autoExpandColumn: 'company',
            height: 350,
            width: 600,
            title: 'Array Grid',
            // config options for stateful behavior
            stateful: true,
            stateId: 'grid'        
        });
    But it doesn't work, the grid isn't being displayed
    Code:
     b is not a constructor
    [IMG]chrome://firebug/content/blank.gif[/IMG]var  swfobject=function(){var  E="undefi...);Ext.grid.GroupingView.GROUP_ID=1000;ext-all.js
    Update: searching the forums i saw
    Code:
    Ext.apply(Ext.grid.Column.types, {
        pcolumn: Ext.ux.ProgressColumn
    });
    that did it