ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
how to merge two columns in grid footer
Title:
B
I
{code}
?
I used this link: https://www.aspnetawesome.com/learn/mvc/Grid#Aggregates and created a costum make-footer function, now I want to merge two columns and and show the footer just under those columns.
Save Changes
Cancel
dear
asked at 31 Aug 2018
Answers
B
I
{code}
?
as you can see in the demo here: https://demo.aspnetawesome.com/GridDemo/Grouping all footer cells are separate, the only way you could merge 2 footer cells is by handling the `awerender` grid event and merging the cells with custom js, $('#grid1').on('awerender', function(){ }); you can identify the footer `tr` by the `awe-gfoot` class, to identify a specific column `td` you can set a class to the `Column { CssClass = "cl1"`
Save Changes
Cancel
Omu
answered at 31 Aug 2018
can you more explain this way? how can I set awe-gfoot class for footer?
at 31 Aug 2018
dear
you don't need to set it, its already there
at 31 Aug 2018
Omu
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK