Results 1 to 5 of 5

Thread: events not working on dashboard parts

  1. #1
    Sencha User
    Join Date
    Oct 2015
    Posts
    45
    Answers
    1
    Vote Rating
    -1
      -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
    21
    Vote Rating
    71
      0  

    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,337
    Answers
    3993
    Vote Rating
    1487
      0  

    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 Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

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

  5. #4
    Sencha User
    Join Date
    Oct 2015
    Posts
    45
    Answers
    1
    Vote Rating
    -1
      0  

    Default

    thanks for your help

  6. #5
    Sencha User
    Join Date
    Oct 2015
    Posts
    45
    Answers
    1
    Vote Rating
    -1
      0  

    Default

    sorry,I will pay attention to this in next time

Similar Threads

  1. Extjs6: dashboard parts coming vertically
    By ayushbanka in forum Ext 6: Q&A
    Replies: 1
    Last Post: 26 Jul 2016, 11:27 AM
  2. focus issue in dashboard parts header
    By lalit007 in forum Ext 6: 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
  •