irigsoft Posted December 17, 2021 Share Posted December 17, 2021 Hello, I'm trying the example "\ Demos \ Desktop \ GridSummaryPage" and I want to add a check box with Summary.Enable: = Checkbox.Checked to show / hide the summary row. Is it possible during the runtime? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 18, 2021 Share Posted December 18, 2021 8 hours ago, irigsoft said: and I want to add a check box with Summary.Enable: = Checkbox.Checked to show / hide the summary row. Is it possible during the runtime? Hello, Try this approach: 1 Quote Link to comment Share on other sites More sharing options...
irigsoft Posted December 18, 2021 Author Share Posted December 18, 2021 2 hours ago, Sherzod said: Hello, Try this approach: ver 1524, this work perfect, thank You: uniDBGrid1.JSInterface.JSCode('var me='#1'; var _view=null; var _lockedview=null; if (!me.lockedGrid && !me.normalGrid) {_view=me.getView()} else {_view=me.normalGrid.getView(); _lockedview=me.lockedGrid.getView()}; '+ 'if (_view) {_view.summaryFeature.summaryBar.hide()};'+ 'if (_lockedview) {_lockedview.summaryFeature.summaryBar.hide()};' ); 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.