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 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}"; } 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 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 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? 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>'; } 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now