N.Marzio Posted April 22, 2020 Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted April 23, 2020 Share 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 Link to comment Share on other sites More sharing options...
N.Marzio Posted April 23, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
N.Marzio Posted April 24, 2020 Author Share Posted April 24, 2020 Ora Funziona correttamente! Quote Link to comment Share on other sites More sharing options...
N.Marzio Posted April 24, 2020 Author Share Posted April 24, 2020 Last question... It is possible to add a custom button? Tks!! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 24, 2020 Share Posted April 24, 2020 1 hour ago, marzio said: It is possible to add a custom button? Quote Link to comment Share on other sites More sharing options...
N.Marzio Posted April 24, 2020 Author Share Posted April 24, 2020 Perfect works! Thanks! Quote Link to comment Share on other sites More sharing options...
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.