Home Forums WinForms controls Xceed Grid for WinForms How can I add a SummaryRow to a grid? C# Reply To: How can I add a SummaryRow to a grid? C#

User (Old forums)
Member
Post count: 23064

On which line do you get this message?

You are trying to cast a cell to a row. You need to cast a cell to a cell, or a row to a row. Moreover, in certain cases when trying to get a reference to a cell or a row, you need to make an explicit cast so the compiler will not complain, because the collection is not typed.

e.g. :

Xceed.Grid.DataRow row = ( Xceed.Grid.DataRow )gridControl1.CurrentRow;

Imported from legacy forums. Posted by André (had 711 views)