i Need to Add subtotal dynamically created table in telerik Report pls help
1 Answer, 1 is accepted
answered on 12 Dec 2016, 05:32 PM
Below is a code snippet that evaluates data and creates a Table item's template at run-time. The generated Table item is bound to the data object. There is also a static row group that will display totals.
The code is generated by VS Report Designer and it is adjusted for usage at run-time:
public DataTable GetData()
dynamic table = new DataTable();
public Telerik.Reporting.Report GenerateReport()
//create a blank report
Telerik.Reporting.Report report = new Telerik.Reporting.Report();
report.Name = "Report1";
report.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1.0), Telerik.Reporting.Drawing.Unit.Inch(1.0), Telerik.Reporting.Drawing.Unit.Inch(1.0), Telerik.Reporting.Drawing.Unit.Inch(1.0));
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?
Telerik Feedback Portal
and vote to affect the priority of the items