Are you looking to customize the footer of your jqgrid as shown in the example below?
I am trying to set up a custom footer for my jqgrid similar to the one displayed above.
I have already enabled the footerrow:true
option and used
$self.jqGrid("footerData", "set", { Total: actualSum });
to display the footerRow successfully.
However, I need to merge two columns (Amount and Tax) and add a label 'Grand Total:' to achieve the desired look.
I have explored solutions like this, which suggest using cellattr to merge cells. Unfortunately, this approach doesn't seem to work with footer rows. Is there another way to implement this using cellattr?
I also found answers like these ones, where hiding right borders conditionally is discussed, but colspan isn't utilized. This method didn't solve my issue either.
Currently, my footer looks like this:
@Oleg, could you provide some guidance on how I can address this problem and create a footer that utilizes colspan as I have described?