Add custom row to the top or to the bottom

Hi. Let's say that I have a column in my grid called "Cost", which contains a currency value for each element. I'm trying to add a custom row to the grid, at the top or bottom, which contains the sum of all costs. Considering a broader approach, I'm basically looking for a mechanism which would allow me to specify a custom logic and a custom template for my custom row. I've been looking at the grid documentation which you kindly provided and found these pages:

http://help.syncfusion.com/ug/aspnetmvc/Documents/addingnewrowposition.htm
http://help.syncfusion.com/ug/aspnetmvc/Documents/rendergridwithaddnewrow.htm

which seem to talk about just what I need, but a full explaination on how to use these custom rows isn't provided (how to customize the looks of the row? how to customize the logic attached to it?)

2 Replies

CA Carlo July 28, 2015 08:17 AM UTC

I should have taken a look at this before writing this topic:

http://help.syncfusion.com/ug/aspnetmvc/Documents/defaultsummary.htm

that solved my problem. Thanks anyway.


MS Madhu Sudhanan P Syncfusion Team July 28, 2015 12:23 PM UTC

Hi Carlo,

We are happy to hear that your problem is resolved. And also please refer the below online demo for using summary features in grid.

http://mvc.syncfusion.com/demos/web/grid/summary

Please get back to us if you require further assistance. We will be happy to help you out.

Regards,
Madhu Sudhanan. P

Loader.
Up arrow icon