This question is locked. New answers and comments are not allowed.
I have a unusual senario that I'm hoping you can help with. I have a grid with dynamic columns. The value in each cell is calculated using the column and the row (dataitem). So I created a custom column class (inherit GridViewBoundColumnBase), which overrides the CreateCellElement method where the value is calculated based on the column info and the dataItem, and a TextBlock displaying the value is returned.
This works great - no problems. But I have a requirement to add a total's row. (the values are decimals)
Is there any way to accomplish this? The sumfunction class expects a property name - which I don't have. Is it possible to create a custom aggregate class? If so, are there any examples?
Thanks,
Justin
This works great - no problems. But I have a requirement to add a total's row. (the values are decimals)
Is there any way to accomplish this? The sumfunction class expects a property name - which I don't have. Is it possible to create a custom aggregate class? If so, are there any examples?
Thanks,
Justin