Results 1 to 5 of 5

Thread: events not working on dashboard parts

  1. #1
    Sencha User
    Join Date
    Oct 2015
    Posts
    48
    Answers
    1

    Default Answered: events not working on dashboard parts

    events not working on dashboard parts

    here is the fiddle :https://fiddle.sencha.com/#view/editor&fiddle/2gl3

    try to add resize events on parts of dashboard but doesn't work, need help ,thanks.

  2. Code:
    widget1: {
        viewTemplate: {
           title: 'Widget 1',
           items: [{
                html: 'Widget 1',
                listeners: {
                    resize: function(me, width, height, oldWidth, oldHeight, eOpts ){
                        console.log(11);
                    }
                }
           }]
        }
    },

  3. #2
    Sencha Premium Member richardvd's Avatar
    Join Date
    Jun 2011
    Location
    NL
    Posts
    255
    Answers
    22

    Default

    Code:
    widget1: {
        viewTemplate: {
           title: 'Widget 1',
           items: [{
                html: 'Widget 1',
                listeners: {
                    resize: function(me, width, height, oldWidth, oldHeight, eOpts ){
                        console.log(11);
                    }
                }
           }]
        }
    },

  4. #3
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449
    Answers
    3997

    Default

    also, you posted this in the Sencha Fiddle forum where this thread is not about Fiddle. This should have been posted in an Ext JS forum.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #4
    Sencha User
    Join Date
    Oct 2015
    Posts
    48
    Answers
    1

    Default

    thanks for your help

  6. #5
    Sencha User
    Join Date
    Oct 2015
    Posts
    48
    Answers
    1

    Default

    sorry,I will pay attention to this in next time

Similar Threads

  1. Extjs6: dashboard parts coming vertically
    By ayushbanka in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 26 Jul 2016, 11:27 AM
  2. focus issue in dashboard parts header
    By lalit007 in forum Ext JS 6.x Q&A
    Replies: 4
    Last Post: 10 Mar 2016, 3:11 AM
  3. Advanced dashboard parts
    By andyk in forum Ext 5: Q&A
    Replies: 0
    Last Post: 15 Sep 2014, 6:59 AM
  4. [FIXED] Click handlers inside Dashboard Parts do not fire
    By moogjet in forum Ext 5: Bugs
    Replies: 2
    Last Post: 7 Jul 2014, 4:04 AM

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
  •