asapltda Posted April 26, 2020 Share Posted April 26, 2020 Good afternoon How can I remove from the tumdbgrid the totals of the group titles Thanks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 26, 2020 Share Posted April 26, 2020 34 minutes ago, asapltda said: How can I remove from the tumdbgrid the totals of the group titles Hello, One possible solution: function afterCreate(sender) { sender.getGroupHeader().tpl.html="{html}"; } Quote Link to comment Share on other sites More sharing options...
asapltda Posted April 26, 2020 Author Share Posted April 26, 2020 function afterCreate(sender) { sender.getHeaderContainer().el.setHeight(0); sender.getGroupHeader().tpl.html="{html}"; } TKS RESULT TUNIMDBGRID Quote Link to comment Share on other sites More sharing options...
asapltda Posted April 26, 2020 Author Share Posted April 26, 2020 Thanks, it is possible to consider these changes as a standard part of dbgrid Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted November 30, 2020 Share Posted November 30, 2020 taking advantage of the topic, can you change the font color of the group? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 30, 2020 Share Posted November 30, 2020 3 hours ago, eduardosuruagy said: taking advantage of the topic, can you change the font color of the group? Hello, Try this, for example: function afterCreate(sender) { sender.getGroupHeader().tpl.html='<span style="color:green;font-weight:bold">{html}</span>'; } Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted November 30, 2020 Share Posted November 30, 2020 2 hours ago, Sherzod said: Hello, Try this, for example: function afterCreate(sender) { sender.getGroupHeader().tpl.html='<span style="color:green;font-weight:bold">{html}</span>'; } 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.