N.Marzio Posted April 22, 2020 Posted April 22, 2020 Is it possible to intercept the refresh event of the grid pager indicated in the attached image? Would it be possible to hide it? Quote
Sherzod Posted April 23, 2020 Posted April 23, 2020 7 hours ago, marzio said: Is it possible to intercept the refresh event of the grid pager 7 hours ago, marzio said: Would it be possible to hide it? function afterrender(sender, eOpts) { var me = sender; if (me.pagingBar) { me.pagingBar.getComponent("refresh").hide() } } Quote
N.Marzio Posted April 23, 2020 Author Posted April 23, 2020 The refresh function works! While if I want to hide the refresh button at runtime it doesn't work This is the code: DBGrid.ClientEvents.ExtEvents.Values ['show']: = 'function show (sender, eOpts)' + '{' + 'var me = sender; ' + 'if (me.pagingBar) {' + 'me.pagingBar.getComponent ("refresh"). hide ()' + '}' + '}'; Tks! Quote
N.Marzio Posted April 24, 2020 Author Posted April 24, 2020 Last question... It is possible to add a custom button? Tks!! Quote
Sherzod Posted April 24, 2020 Posted April 24, 2020 1 hour ago, marzio said: It is possible to add a custom button? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.