I am creating the grid fields in code and adding Row Summary in FieldLayoutInitialized event. The row summary appear as 0.00 for columns and are not updated when cells are changed.
What am I missing?
Hello leadbeater,
I reviewed your question and the behavior you described sounds very strange. The FieldLayoutInitialized event should be fired after the FieldLayout has been already initialized. Could you please double check if at this point you have already set the XamDataGrid’s DataSource (for example in the constructor of the window). If this doesn’t help, could you please provide me with more details about the collection you use and where do you assigned it to the xamDataGrid.DataSource.
Thanks in advance.
Any updates for this please?
Tahir
Hello,
I am not populating the grid using DataSource, which is why this is a bit more tricky.
I am first creating grid columns (Fields) and then using xamDataGrid1.DataItems.Add("") to add a row and filling the cells in code.
Is there a way (e.g. an event) that I can use to re-calculate the summary? Any other workaround would be helpful.
Many thanks.