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,
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
one more question how do I format the un bound column This "FormatString
="{}{0:C}" does not seem to work.
regards,Peter
RefreshSummaries was added in a ServiceRelease, so make sure you have the latest SR.
As for the FormatString, an UnboundColumn works off of a Value Converter, so whatever value you return from your Convert method will be displayed. So you could format that value there.
That or you could specify and ItemTemplate, and in the binding specify your format string, on the Value property on the UnboundColumn's DataContext Value property.
-SteveZ
Any update?
Thank you very much, i installed the service pack also. There is two issues one is summary, which we will leave for time being.
With regard to the computation it is not working. In the example what you gave also it does not work. When edit the other cell and come back to the orginal cell it works.
With this i am attaching the source code, as well the word document readme.docx with the full step by step attachment.
Regards,Peter
Hello,
I am creating a private case for you which I'll use to provide more information about obtaining the latest service release.
I am using a trial edition to evaluate between infragistics and telerick for the upcoming project, please let me know how to get the Service pack