Results 1 to 2 of 2

Thread: RowExpander - row content not updating when record changes

  1. #1
    Sencha User
    Join Date
    Dec 2010
    Posts
    35
    Answers
    1
    Vote Rating
    0
      0  

    Default 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

  3. #2
    Sencha User
    Join Date
    Dec 2010
    Posts
    35
    Answers
    1
    Vote Rating
    0
      0  

    Default

    This did the job:

    grid.getView().refresh();

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •