I’m trying to attach some server-generated footer to a grid.
I’m using the XML init:
<head> <afterInit> <call command="detachFooter"><param>0</param></call> <call command="attachFooter"><param>1,2,3,4</param></call> </afterInit> </head>
The first action does not work, the second does. Every time, when the user changes sorting or filtering in grid, the second command adds a footer line. I want to replace the first footer line only, not add new line every time.
Is it possible to execute detachFooter(0) this way?