Merging cells in a footer aggregate

6 posts, 0 answers
  1. Iulian Ilies
    Iulian Ilies avatar
    8 posts
    Member since:
    Apr 2010

    Posted 23 Apr 2010 Link to this post

    Hi there,

    I would like to merge some of the cells in a footer aggregate

    You should make an idea by looking at the following table

    Item

    Quantity

    Price

    Value

    Item A

    2

    10

    20

    Item B

    3

    12

    36

     

    Total Value (long footer label):

    56


    The [Value] column has the actual aggregate footer, while the label for it will span accross Quatity & Price footer.

    Is it possible out of the box? Can you suggest any solution?

    Thanks in advance
    Iulian
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 26 Apr 2010 Link to this post

    Hi Iulian Ilies,

    In order to achieve the desired state of the cell of the footer, you need to predefine its style, as for the time being there is no other out-of-the-box solution. You should adjust the values of the "Margin" and "Border" Properties of the Footer Cell in order to fit appropriately in the Grid. Afterwards, you need to set the Property of the Column "FooterCellStyle" to the Style you have predefined. I am attaching you a sample project where you can see and test the proposed solution.

     
    Regards,
    Maya
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. Iulian Ilies
    Iulian Ilies avatar
    8 posts
    Member since:
    Apr 2010

    Posted 29 Apr 2010 Link to this post

    Hi Maya,

    Thanks for your replay. I was away from this issue for a few days and I could not try your solution.

    Unfortunetely it's not what I wanted; I am not sure if I was clear enough.
    In your very same sample you posted it, I just increase the length of the caption of the aggregate function ("Position" column) and the column size increased too. (please see the attached pic)

    What I understand from your idea is you just play around with the style of those to columns footer ("Number" & "Position") so they won't have a separator but this is not what I want.
    What I would like is a real merge functionality, so the caption will spread across of something like a common footer for the 2 columns mentioned above.

    Any other thought?

    Thanks
    Iulian
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 30 Apr 2010 Link to this post

    Hello Iulian Ilies,

    The proposed solution implements a custom behavior closest to the functionality you want for your project. Unfortunately, for the time being there is no straightforward way to achieve merging of cells of the aggregate results in the footer.

    Sincerely yours,
    Maya
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  6. Carlos
    Carlos avatar
    1 posts
    Member since:
    Nov 2015

    Posted 23 Nov 2015 in reply to Maya Link to this post

    it's possible now?
  7. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 24 Nov 2015 Link to this post

    Hi Carlos,

    We have received very few requests about such functionality and currently it has not yet been implemented as we are working on features with higher priority. For the time being, the suggested solution here is the way to go. 

    Regards,
    Maya
    Telerik
    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
DevCraft banner