Results 1 to 2 of 2

Thread: plugin preview

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    211

    Default plugin preview

    Hello

    I have a gridpanel in the north and I would like to add a preview when user click on each row of this grid in the south. I've tried to do like this
    viewConfig: { itemId: 'view',
    plugins: [{
    pluginId: 'preview',
    ptype: 'preview',
    bodyField: 'thread_label',
    expanded: true
    }],
    but it doesn't work. Do I need to add something more????

    Thank you

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,410
    Answers
    716

    Default

    Do you have the UX added to your requires?

    Code:
    Ext.Loader.setPath('Ext.ux', '../ux/');
    Ext.require([
        'Ext.ux.PreviewPlugin',
    ]);
    Regards,
    Scott.

Posting Permissions

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