Aggregate in client side grid binding

2 posts, 0 answers
  1. kia
    kia avatar
    17 posts
    Member since:
    Oct 2010

    Posted 09 Mar 2014 Link to this post

    Hi
    I have a grid that bind at client-side.
    I want to have Sum of some column in footer. What i must to do?

    Note: I'm set Aggregate="Sum" in column definition but when i run prj it show only Sum:

    here is the code of column definition:
    <telerik:GridBoundColumn HeaderText="ColumnTitle" DataField="FieldName" HeaderStyle-Width="15%"
        ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Aggregate="Sum">
    </telerik:GridBoundColumn>

    and for binding i use this code:
    var data = CallWebMethod(WebserviceUrl, Parameter);
    var MasterTable = gv.get_masterTableView();
    MasterTable.set_dataSource(data);
    MasterTable.dataBind();

  2. Antonio Stoilkov
    Admin
    Antonio Stoilkov avatar
    530 posts

    Posted 12 Mar 2014 Link to this post

    Hello,

    Currently the RadGrid control does not support aggregates with client-side binding. However, we are currently working on improving RadGrid client-side binding and one of the improvements include support client-side binding and aggregates.

    Regards,
    Antonio Stoilkov
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top