We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Group Caption With Aggregation

When a GroupCaptionTemplate is used for aggregation in GridAggregateColumns, the grouping caption becomes truncated with a "..." to the width of the first column.  Is there any way around this?  I'd still like it to display fully.  I tried using a CaptionTemplate but it is still truncated.



3 Replies

VN Vignesh Natarajan Syncfusion Team February 5, 2020 05:56 PM UTC

Hi Jonah, 
 
Thanks for contacting Syncfusion support. 
 
Query :   I'd still like it to display fully. 
 
We suggest you to apply styles for the e-groupcaption class based on your requirement. Kindly apply the below css styles to your application to auto wrap the hiding texts to a new line in the group caption. We have also prepared a sample for your convenience, please download the sample from the link below, 
 
 
//The below style will auto wrap the hidden contents to new line. You can apply style for the e-groupcaption class based on your requirement. 
<style> 
    .e-grid .e-groupcaption { 
        line-height: 18px; 
        overflow-wrap: break-word; 
        text-overflow: clip; 
        white-space: normal; 
        word-wrap: break-word; 
    } 
</style> 
 
 
Please get back to us if you need further assistance. 
 
Regards, 
Vignesh Natarajan.. 
 



JC Jonah Coleman February 5, 2020 07:33 PM UTC

Thank you, that will work!


VN Vignesh Natarajan Syncfusion Team February 6, 2020 04:00 AM UTC

Hi Jonah,  

Thanks for the update.  

We are glad to hear that you have resolved your query using our solution.  

Kindly get back to us if you need any further assistance from us.  

Regards, 
Vignesh Natarajan 


Loader.
Live Chat Icon For mobile
Up arrow icon