Threaded View

  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    35
    Answers
    1
    Vote Rating
    0
    TheDude55 is on a distinguished road

      0  

    Default Answered: RowExpander - row content not updating when record changes

    Answered: RowExpander - row content not updating when record changes


    Hi. I'm using the RowExpander plugin. It's working great except that the row body content does not update with the record being modified. Anyone got any ideas? Thanks.


    Code:
        plugins: [{
            ptype: 'rowexpander',
            expandOnDblClick: false,
            rowBodyTpl: [
                    '<div style="margin: 10px; padding: 15px; border: 1px solid black;">',
    
                    '<b>Student detail validation errors:</b><br/><br/> {DetailValidationErrors}',
                   
                    '</div>'
                ]
        }],

  2. This did the job:

    grid.getView().refresh();

    Anybody got a better way, I'd love to know. Thanks