i am using silverlight infragistics grid.
1. I have column A and column b which is bound column.
2. I have added column c = column b + column A whcih is unbound column,
3. It displays the data, when i do a cell edit and when i exit the cell of Column A or column B it does not change the data in column C ; where as when i go to the same cell changes reflected in column c, any idea how to make it reflect when we exit the cell,
4. do i need create a custom summary class for summarizing column c, or is it a inbuilt function.
Hi,
I've attached a sample application.
Have a look at MyCustomSummaryOperand.cs - this is where my custom summary is implemented.
Also look at the CellExitedEditMode event handler at MainPage.xaml.cs - it uses two methods .Refresh() on the unbound cell to refresh the bindings and .RefreshSummaries() on the RowsManager to invalidate the summaries of the grid.
Regards,
The example what you gave , i commented the below line //e.Cell.Row.Manager.RefreshSummaries(); and ran the application, it is not changing the unbound (computed column) as we edit the other columns.
I am calling refresh, but it is not refreshing the unbound column when we edit the data. any idea why. Do i need to have the latest service pack
Thank you, But i am getting the below error , any idea why?
Infragistics.Controls.Grids.RowsManagerBase' does not contain a definition for 'RefreshSummaries' and no extension method 'RefreshSummaries' accepting a first argument of type 'Infragistics.Controls.Grids.RowsManagerBase' could be found (are you missing a using directive or an assembly reference?
Peter