6 Answers, 1 is accepted
Try setting the DataFields and the Expression attributes for the Calculated column as shown below:
You have to set the DataType for the column so as to get the DataFormatString applied to the column. Check out the code below to find out how to get this done.
CalculatedColumn value = getColValue(Column1 Value)
You can use code-behind, to add the column dinamically, and set its properties and to specify which columns its value will be based on. Other than that, you can use code-behind to alter the value dynamically, by accessing the relevant cell.
All the best,
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Thanks for your help! I added the following code to show the aggregate in the footer and I'm getting the error, "Sum is not supported for type System.Object". This is all in the first detail table of my grid. All is done on Page Load.
RadGrid1.PageSize = 10;