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

SummaryRow bug at ItemUpdate

1 Answer 91 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Fabien
Top achievements
Rank 2
Fabien asked on 19 Dec 2008, 12:13 PM
Hi,

I found a bug in summary row calculation.

pRadGridView.MasterGridViewTemplate.SummaryRowsBottom.BeginItemUpdate();
// columns update for a row
pRadGridView.MasterGridViewTemplate.SummaryRowsBottom.EndItemUpdate();

The problem is :
[ GridViewTextBoxColumn ] [ GridViewDataColumn ]
[                                         ] [ GridViewSummaryItem ]

If you change something in the GridViewTextBoxColumn, GridViewSummaryItem is not updated.

Indeed, if there is no GridViewSummaryItem at the bottom of a GridViewTextBoxColumn , BeginItemUpdate don't work.

I have no enought time to do a sample again. If you have any question, tell me.


1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 20 Dec 2008, 04:46 PM
Hi Fabien,

Thank you for reporting this issue.

The GridViewDataColumn is a base class and it should not be used directly. Instead use GridViewTextBoxColumn or any other successor class. The Begin/EndItemUpdate methods are used internally in RadGridView and you don't need to call them directly. Could you please specify the situation in which you call these methods? In which mode do you use RadGridView: unbound or bound mode?

GridViewSummaryItem is produced for a specific column, so when there is no change in that column it isn't updated. That is by design. However, it is possible that we missed a scenario. Please describe your case. Sending us the Form file that contains your grid would help me understanding this issue.

I will be glad helping you further.

 
Best wishes,
Jack
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Fabien
Top achievements
Rank 2
Answers by
Jack
Telerik team
Share this question
or