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
close icon

Text alignment for GroupSummaryRowControl

Hi,
how to set text alignment torightfor
GroupSummaryRowControl?

Best regards,
Rafal

3 Replies

BR Balamurugan Rajaraman Syncfusion Team August 17, 2017 01:43 PM UTC

Hi Rafal, 
 
Thanks for contacting Syncfusion support. 
 
We have checked your query “Horizontal alignment for the summary row”. You can able to achieve this requirement by writing the Style for the GridCaptionSummaryCell, GridSummaryCell as like the below provided code sample. 
 
  <Window.Resources> 
        <Style TargetType="syncfusion:GridGroupSummaryCell"> 
            <Setter Property="HorizontalContentAlignment" Value="Right"></Setter> 
        </Style> 
        <Style TargetType="syncfusion:GridCaptionSummaryCell"> 
            <Setter Property="HorizontalContentAlignment" Value="Right"></Setter> 
        </Style> 
    </Window.Resources> 
   
Please refer the below link for getting more information about the summary cell customization 
 
 
 
We have created the sample based upon your requirement and attached that sample for your reference you can able to get it from the below link 
 
 
Regards, 
Balamurugan R 



RA Rafal August 17, 2017 05:39 PM UTC

It works! Thank you so much.


Best regards,
Rafal



BR Balamurugan Rajaraman Syncfusion Team August 18, 2017 09:58 AM UTC

Hi Rafal, 
 
Thanks for the update, 
 
Please let us know if you need any assist on this. 
 
Regards, 
Balamurugan R  


Loader.
Live Chat Icon For mobile
Up arrow icon