This is a migrated thread and some comments may be shown as answers.

How to Changes Telerik Grid Running Total Footer Template

1 Answer 193 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jaya
Top achievements
Rank 1
Jaya asked on 17 Apr 2015, 06:10 AM

Hi

 This is My code . Here when i enter the Total textbox i need show the footer template for running Total how will do this client side this any one guide me.

 <telerik:RadGrid ID="Grd1" runat="server" AutoGenerateColumns="false" ShowFooter="true">
            <MasterTableView DataKeyNames="EmpId">
                <Columns>
                    <telerik:GridBoundColumn DataField="EmpName" HeaderText="EmpName" UniqueName="EmpName"></telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn HeaderText="Amount" UniqueName="Amount">
                        <ItemTemplate>
                            <asp:TextBox ID="TXTTOTAL" runat="server" Text='<%# Eval("Empamt") %>'></asp:TextBox>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 22 Apr 2015, 07:05 AM
Hello Jaya,

Generally, RadGrid provides Aggregates to display the Total values:
http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/grouping/group-footers/defaultcs.aspx

But I guess you will need an instant updating approach, similar to this scenario:
http://www.telerik.com/help/aspnet-ajax/grid-totals-with-numerictextbox.html

I am also sending a sample RadGrid web site sample to demonstrate a basic implementation of findElement and findControl methods which you can use to create a solution on client-side.


Hope this helps.

Regards,
Eyup
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Grid
Asked by
Jaya
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or