Results 1 to 2 of 2

Thread: beforechange event in Ext.toolbar.Paging

  1. #1
    Sencha User
    Join Date
    Aug 2015
    Posts
    24
    Vote Rating
    0
      0  

    Default beforechange event in Ext.toolbar.Paging

    Hi,

    beforechange( this, page, eOpts )
    Fires just before the active page is changed. Return false to prevent the active page from being changed.
    Available since: 2.3.0
    Parameters

    • this : Ext.toolbar.Paging
    • page : NumberThe page number that will be loaded on change

    • eOpts : ObjectThe options object passed to Ext.util.Observable.addListener.

      we have overridden the beforechange event
      not able to get the page Parameter in the method

      when we alert(page)
      it is not showing the page to which the page will be directed to




  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    296
      0  

    Default

    Did you place the listener on the plugin definition? Are you able to recreate this in a test case?
    https://fiddle.sencha.com/#view/editor

Similar Threads

  1. Replies: 2
    Last Post: 13 Apr 2015, 3:39 PM
  2. 'beforechange' event in checkbox
    By shailykamboj in forum Ext: Q&A
    Replies: 3
    Last Post: 11 Jun 2014, 7:57 PM
  3. beforechange event on combobox
    By gabrikid in forum Ext: Q&A
    Replies: 7
    Last Post: 13 May 2014, 8:33 AM
  4. [OPEN] toolbar.Paging change event: pageData undefined
    By DavidEichmann in forum Ext:Bugs
    Replies: 2
    Last Post: 11 Jul 2012, 12:15 AM
  5. Replies: 5
    Last Post: 16 Apr 2010, 2:14 PM

Posting Permissions

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