1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    403
    Vote Rating
    0
    KimH is on a distinguished road

      0  

    Default Re-render content in resizable column using custom renderer?

    Re-render content in resizable column using custom renderer?


    What is needed to re-render content in a resizable column that has a custom renderer?

    EDIT: I have tried to do the following:

    Code:
    grid.on('columnresize', grid.getView().refresh());
    but this will cause the grid to go wild :-D

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Code:
    grid.on('columnresize', function(){
          grid.getView().refresh();
    });
    It needs a callback to call, whereas you were invoking it directly.

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    403
    Vote Rating
    0
    KimH is on a distinguished road

      0  

    Default


    Thanks Jack!

    Is it possible to only re-render one column instead of the entire grid (it is too slow)?

  4. #4
    Ext User
    Join Date
    May 2008
    Posts
    71
    Vote Rating
    0
    Efex is on a distinguished road

      0  

    Default


    Don't know if this has been answered somewhere else but I'm having the same question here.
    How do I re render a column?

Similar Threads

  1. Unable to implement a Custom Renderer, please help!
    By MatteoSp in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 31 Mar 2007, 4:16 AM
  2. Grid - Custom header renderer?
    By KimH in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 3 Mar 2007, 3:28 PM
  3. Re-render BasicDialog with different content
    By kalebwalton in forum Ext 1.x: Help & Discussion
    Replies: 6
    Last Post: 6 Feb 2007, 12:37 PM
  4. Using a renderer on a column doesn't seem to work with sort?
    By donalconlon in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 11 Dec 2006, 1:32 PM
  5. Custom row renderer in paging grid causes toolbar to vanish
    By steve.neill in forum Ext 1.x: Bugs
    Replies: 3
    Last Post: 1 Dec 2006, 5:20 AM

Thread Participants: 2