Hi,
I have added summaries in WebDataGrid.
How can I get the value of each summary in server side code.
If anybody knows kindly share it with piece of code.
Thanks
Hi sheeraz001,
There is a summary calculated server event that you can handle where the event args has the summary value. You could also get it from the the Records off the data view of the grid with code like follows:
this.WebDataGrid1.GetDataView().DataAdapter.Records.GetAverage(key)
If you would like to see a public getter off of the Summary class, please submit a feature request.
regards,David Young
Hi David
Thanks for reply. I want to get summary values for later use so it should be available as public class.
Secondly this.WebDataGrid.GetDataView().DataAdapter.Records is null. There is no record to get summary like average, sum etc.
Is there any way to get that.
Regards,
Sheeraz Raza