Alignment within aggregated column footer

2 posts, 1 answers
  1. ProXy
    ProXy avatar
    3 posts
    Member since:
    Apr 2010

    Posted 27 Jan 2016 Link to this post


    I have added a footer to my gridview using the SumFunction. The content of all regular cells is aligned right (numeric values) but I cannot change the alignment of the result in the footer. Everything placed in the footer is rendered with minimal width and ignoring the width of the column, therefor all alignment settings are ignored.

     Any advices how to align the content in the footer?

     Thanks in advance.

  2. Answer
    Stefan Nenchev
    Stefan Nenchev avatar
    665 posts

    Posted 29 Jan 2016 Link to this post

    Hi Stefan,

    You can use the FooterTextAlignment property of the relevant column in order to achieve the desired effect. Please refer to the code snippet below:

         DataMemberBinding="{Binding StadiumCapacity}"
                            <telerik:SumFunction Caption="Sum: "/>
    In case the aforementioned approach does not solve the issue at your end, would it be possible to provide me with the implementation from your side and a snapshot of the visual appearance.

    Stefan Nenchev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top