Categories | Question details Back To List | ||
attach-detach footer problem Hi I have a problem with detaching more than one footer. I create two footers: Grid.attachFooter("Small Mode Totals,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,{#stat_total},,{#stat_total},,{#stat_total},,{#stat_total},,{#stat_total},,{#stat_total},,{#stat_total},,<div id='nr_pjTotal'></div>",["text-align:right;"]); Grid.attachFooter("Big Mode Total,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,{#stat_total}",["text-align:right;"]); and when I use: Grid.detachFooter(1); Grid.detachFooter(2); The only first footer is detached. Even If I use: Grid.detachFooter(0); Grid.detachFooter(1); It’s still detaching only the first footer. How to detach both footers in same time? Thanks! Answer posted by Support on Nov 17, 2008 01:50 Use Grid.detachFooter(2); Grid.detachFooter(1); ( after you have detach any of footers, the indexes of other footer lines recalculated, so you need to start from max. index value ) |