Hi,
i'm trying to update SummaryRowsBottom values.
in CellEndEdit I try to do this :
GridViewRowInfo pRowInfo = this.RadGridView_Name.MasterGridViewTemplate.Rows[e.RowIndex].Cells[e.ColumnIndex].RowInfo;
this.RadGridView_Name.MasterGridViewTemplate.SummaryRowsBottom.BeginItemUpdate();
pRowInfo.Cells["CellName"].Value = "10";
this.RadGridView_Name.MasterGridViewTemplate.SummaryRowsBottom.EndItemUpdate();
infact, summary rows are not updated. If i sort my grid, it'll refresh values.
Please help :p
Thanks
i'm trying to update SummaryRowsBottom values.
in CellEndEdit I try to do this :
GridViewRowInfo pRowInfo = this.RadGridView_Name.MasterGridViewTemplate.Rows[e.RowIndex].Cells[e.ColumnIndex].RowInfo;
this.RadGridView_Name.MasterGridViewTemplate.SummaryRowsBottom.BeginItemUpdate();
pRowInfo.Cells["CellName"].Value = "10";
this.RadGridView_Name.MasterGridViewTemplate.SummaryRowsBottom.EndItemUpdate();
infact, summary rows are not updated. If i sort my grid, it'll refresh values.
Please help :p
Thanks
6 Answers, 1 is accepted
0
Hi Fabien,
You could find detailed answer on this topic in your support ticket that you have created on the same issue.
To the rest of our users: the issues with summaries has been addressed in the Q3 2008 Service Pack1 release.
Write me back if you need additional assistance.
Sincerely yours,
Martin Vasilev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You could find detailed answer on this topic in your support ticket that you have created on the same issue.
To the rest of our users: the issues with summaries has been addressed in the Q3 2008 Service Pack1 release.
Write me back if you need additional assistance.
Sincerely yours,
Martin Vasilev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Fabien
Top achievements
Rank 2
answered on 04 Dec 2008, 12:15 AM
Hi,
I tested today the export to excel capability. I noticed that summaries are not exported.
And the last thing is about text-alignement and colors (or whatever). I did not find the way to align text on right (for example).
Because values in my grid are align in top-right, but summary bottom rows are centered.
If there is a way to do it... I did not find it :)
Best regards.
I tested today the export to excel capability. I noticed that summaries are not exported.
And the last thing is about text-alignement and colors (or whatever). I did not find the way to align text on right (for example).
Because values in my grid are align in top-right, but summary bottom rows are centered.
If there is a way to do it... I did not find it :)
Best regards.
0
Accepted
Hello Fabien,
Thank you for getting back to me.
Currently, the Export to Excel functionality does not include export of summary items. We will consider adding this feature in a future release. I have updated your Telerik points.
You can format the summaries cell through the ViewCellFormating event. Please, review the code-block below:
Hope this helps. Write me back if you have other questions.
All the best,
Martin Vasilev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thank you for getting back to me.
Currently, the Export to Excel functionality does not include export of summary items. We will consider adding this feature in a future release. I have updated your Telerik points.
You can format the summaries cell through the ViewCellFormating event. Please, review the code-block below:
void radGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e) |
{ |
if (e.CellElement is GridSummaryCellElement) |
{ |
((GridSummaryCellElement)e.CellElement).TextAlignment = ContentAlignment.MiddleLeft; |
((GridSummaryCellElement)e.CellElement).ForeColor = Color.Red; |
} |
} |
Hope this helps. Write me back if you have other questions.
All the best,
Martin Vasilev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Fabien
Top achievements
Rank 2
answered on 08 Dec 2008, 08:44 AM
Thanks for your help. It works well.
0

Gonçalo Dias
Top achievements
Rank 1
answered on 10 Nov 2009, 06:04 PM
Hi there.
I am using the Windows Forms Q2 2009 release and i am having the same problem.
Can you please tell me what is wrong?
Is there any code sample i can see?
Thank you very much.
I am using the Windows Forms Q2 2009 release and i am having the same problem.
Can you please tell me what is wrong?
Is there any code sample i can see?
Thank you very much.
0
Hello Gonçalo Dias,
This issues has been addressed in last year's Q3 2008 SP1. Just to make sure that all is good witht eh version you mention, I have tried the latest Q3 2009 release - when I change a cell value the summary rows gets updated immediately, as expected.
In order to locate the issue in your case, please open a new support ticket and send us your project. We will review it for you and will let you know where the problem is. In order to open a new ticket, you will need to gain access to the support system. To do so, please, ask the purchase holder in your company to add you as a License Developer to the purchase your company has with us. Full instructions and more information on License Developers you can find here: http://www.telerik.com/account/faqs.aspx
Kind regards,
Martin Vasilev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
This issues has been addressed in last year's Q3 2008 SP1. Just to make sure that all is good witht eh version you mention, I have tried the latest Q3 2009 release - when I change a cell value the summary rows gets updated immediately, as expected.
In order to locate the issue in your case, please open a new support ticket and send us your project. We will review it for you and will let you know where the problem is. In order to open a new ticket, you will need to gain access to the support system. To do so, please, ask the purchase holder in your company to add you as a License Developer to the purchase your company has with us. Full instructions and more information on License Developers you can find here: http://www.telerik.com/account/faqs.aspx
Kind regards,
Martin Vasilev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.