Aggregate functions between rows or columns

4 posts, 0 answers
  1. Ingólfur
    Ingólfur avatar
    11 posts
    Member since:
    Jun 2012

    Posted 29 Apr 2013 Link to this post

    In some gridviews I need to be able to show variance between rows and/or columns as percentage or delta change.

    Is there anything in Telerik controls that support anything like this. My one solution is just to calculate it outside and add new items to the collection that represent these aggregate values. Are there any simpler or better solutions available?
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 30 Apr 2013 Link to this post

    Hello,
    Indeed the best solution is to calculate those outside (e.g. in your ViewModel) and use RadGridView just to represent the values.
    Generally it is not recommended to perform calculations at the UI level.


    Regards,
    Pavel Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Ingólfur
    Ingólfur avatar
    11 posts
    Member since:
    Jun 2012

    Posted 30 Apr 2013 Link to this post

    OK a question related to this.

    With a quick look it seems styling is mostly done at a column level, can I style GridView by rows?
  4. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 30 Apr 2013 Link to this post

    Hello,

    Yes , you can do using RowStyleSelectors.
    Greetings,
    Pavel Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top