We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Rounding the Summary Row Columns and Adding a Descriptor

Hello, 

I am trying to figure out how to round the summary header row columns displayed in the screenshot. I also would like to know how I add a row descriptor to the left of 984 in the data grid. 



Thank you, 
Dylan 

3 Replies

DW Dylan Wegner December 13, 2018 01:44 PM UTC

Below is the code that I am using to create the row of averages at the top of original post screenshot:




Thank you, 
Dylan 


DW Dylan Wegner December 13, 2018 05:55 PM UTC

I figured out my issues here. For the rounding the I had to this: Format = "{Average:###.##}",
which worked perfect. I didn't see anywhere in the documentation that said i could do this. It's a good thing i came across this in the forums. It would be nice if this was added to the documentation. 

Also, I was able to get the descriptor by using a custom aggregate. 

Thank you
Dylan


VR Vigneshkumar Ramasamy Syncfusion Team December 14, 2018 10:45 AM UTC

Hi Dylan Wegner, 
 
Thanks for contacting Syncfusion support. 
 
We gald to know that you have achieved your requirement. We have already UG documention for the aggregate types and please find the below UG link for the same, In examples we have used only “sum”. 
 
 
 
 
Regards 
Vigneshkumar R 


Loader.
Up arrow icon