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:
and for binding i use this code:
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();