PDA

View Full Version : Add event to paging buttons in comb box



gnostic
Jul 15, 2017, 5:22 AM
How can i add event to paging buttons in combo box, like next button in this image from combo box search (http://examples.ext.net/#/Form/ComboBox/Custom_Search/)

25028

My purpose is javascript event or ext.js event if is possible.

fabricio.murta
Aug 17, 2017, 9:19 PM
Hello,

No, the paging toolbar does not support natively binding events to its buttons. You should either build a similar toolbar yourself so that you can specify every button (and make them go first/last/previous/next/specific pages) or you can also extend the Ext.toolbar.Paging (http://docs.sencha.com/extjs/6.5.0/classic/Ext.toolbar.Paging.html) component to implement those functionalities.

Although this piece of information may not necessarily help make it work, I hope it helps directing the efforts into making the functionality for you!