Count of Footer rows?

Is there a function or a way to count the number of rows in a footer?



We are adding 3 or 4 rows, depending on a specific situation using the “attachFooter” section. However the footer needs to be recalculated (often!) and there is a need to remove rows. The easiest way that I can think of is to get a count and us the “detachFooter” function. However it’s impossible to quess the number of rows. I could keep a variable count if there is no other way. Please let me know.



Thanks,

James

There is no API method , but you can use
mygrid.ftr.rows.length

>> needs to be recalculated
There is a way to create custom counters in footer, it may be an alternative solution
dhtmlx.com/docs/products/dhtmlxG … t_custstat